Add systemd service file

This commit is contained in:
Starbeamrainbowlabs 2018-11-10 21:17:34 +00:00
parent f04c754037
commit 84c0685678
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 16 additions and 0 deletions

16
rhinoreminds.service Normal file
View 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