add service file
This commit is contained in:
parent
5d999cc417
commit
ee3f776aa5
15
init/stevetunes.service
Normal file
15
init/stevetunes.service
Normal 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
|
Loading…
Reference in New Issue
Block a user