Add systemd service file
This commit is contained in:
parent
f04c754037
commit
84c0685678
1 changed files with 16 additions and 0 deletions
16
rhinoreminds.service
Normal file
16
rhinoreminds.service
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[Unit]
|
||||||
|
Description=RhinoReminds XMPP Bot
|
||||||
|
After=network.target prosody.service
|
||||||
|
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
# Another Type option: forking
|
||||||
|
User=nanodano
|
||||||
|
WorkingDirectory=/home/nanodano
|
||||||
|
ExecStart=/home/nanodano/my_daemon --option=123
|
||||||
|
Restart=on-failure
|
||||||
|
# Other Restart options: or always, on-abort, etc
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue