RhinoReminds/rhinoreminds.service

17 lines
338 B
SYSTEMD

[Unit]
Description=RhinoReminds XMPP Bot
After=network.target prosody.service
[Service]
Type=simple
# Another Type option: forking
User=rhinoreminds
WorkingDirectory=/srv/rhinoreminds
ExecStart=/srv/rhinoreminds/start_service.sh
Restart=on-failure
# Other Restart options: or always, on-abort, etc
[Install]
WantedBy=multi-user.target