add service file

This commit is contained in:
stryan 2022-05-01 16:43:42 -04:00
parent 5d999cc417
commit ee3f776aa5

15
init/stevetunes.service Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=Stevetunes: Everything by Every Steve
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=3
User=root
ExecStart=/srv/stevetunes/main.rb
WorkingDirectory=/srv/stevetunes
[Install]
WantedBy=multi-user.target