GoScrobble/init/goscrobble.service

13 lines
210 B
SYSTEMD
Raw Normal View History

2021-03-23 08:43:44 +00:00
[Unit]
Description=Go Scrobble
After=network.target
[Service]
Type=simple
User=root
2021-12-25 00:30:55 +00:00
ExecStart=/bin/bash -c 'cd /var/www/goscrobble-api && ./goscrobble'
2021-03-23 08:43:44 +00:00
Restart=on-failure
[Install]
WantedBy=multi-user.target