Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. [Unit]
  2. Description=gearman job control server
  3. After=зависимость.service
  4.  
  5. [Service]
  6. PermissionsStartOnly=true
  7. User=www-data
  8. PIDFile=/run/script.pid
  9. ExecStart=/path/to/script
  10. ExecReload=/bin/kill -HUP $MAINPID
  11. KillMode=process
  12. Restart=on-failure
  13.  
  14. [Install]
  15. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement