Advertisement
Infra_HDC

ezproxy systemd

May 27th, 2020
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # cat /etc/systemd/system/ezproxy.service
  2. [Unit]
  3. After=network.target
  4. After=syslog.target
  5.  
  6. [Service]
  7. Type=forking
  8. WorkingDirectory=/usr/local/ezproxy
  9. ExecStart=/usr/local/ezproxy/ezproxy start
  10. PIDFile=/usr/local/ezproxy/ezproxy.pid
  11. User=root
  12. ExecStop=/usr/local/ezproxy/ezproxy stop
  13. SuccessExitStatus=0
  14. TimeoutSec=60
  15.  
  16. [Install]
  17. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement