GoScrobble/init/goscrobble.service

17 lines
329 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=www-data
Environment="MYSQL_HOST=127.0.0.1"
Environment="MYSQL_USER=goscrobble"
Environment="MYSQL_PASS=supersecurepass"
Environment="MYSQL_DB=goscrobble"
ExecStart=/opt/goscrobble/goscrobble
Restart=on-failure
[Install]
WantedBy=multi-user.target