2018-11-10 21:17:34 +00:00
|
|
|
[Unit]
|
|
|
|
Description=RhinoReminds XMPP Bot
|
|
|
|
After=network.target prosody.service
|
|
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
# Another Type option: forking
|
2018-11-10 21:21:41 +00:00
|
|
|
User=rhinoreminds
|
|
|
|
WorkingDirectory=/srv/rhinoreminds
|
2018-11-11 11:18:58 +00:00
|
|
|
ExecStart=/srv/rhinoreminds/start_service.sh
|
2018-11-10 21:17:34 +00:00
|
|
|
Restart=on-failure
|
|
|
|
# Other Restart options: or always, on-abort, etc
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|