Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Description
- After=network.target
- [Service]
- Type=simple
- WorkingDirectory=/var/www/html
- PIDFile=/run/taskname.pid
- ExecStart=/usr/bin/yarn start -p 3001
- ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/taskname.pid
- TimeoutStopSec=5
- KillMode=mixed
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment