mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
17 lines
329 B
SYSTEMD
17 lines
329 B
SYSTEMD
|
[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
|