GoScrobble/init/goscrobble.service
2021-03-23 21:43:44 +13:00

17 lines
329 B
Desktop File

[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