Guest User

Untitled

a guest
Jun 23rd, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. [Unit]
  2. Description=Description
  3. After=network.target
  4.  
  5. [Service]
  6. Type=simple
  7. WorkingDirectory=/var/www/html
  8. PIDFile=/run/taskname.pid
  9. ExecStart=/usr/bin/yarn start -p 3001
  10. ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/taskname.pid
  11. TimeoutStopSec=5
  12. KillMode=mixed
  13.  
  14. [Install]
  15. WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment