Initial Commit

This commit is contained in:
Daniel Mason 2021-03-23 21:43:44 +13:00
parent f5d766bffe
commit 7c9c23ac92
14 changed files with 831 additions and 1 deletions

16
init/goscrobble.service Normal file
View file

@ -0,0 +1,16 @@
[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