21 lines
631 B
Desktop File
21 lines
631 B
Desktop File
[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
|
|
|
|
# If you want logs to be kept automatically in /var/log, uncomment the following & copy "rhinoreminds-rsyslog.conf" in the root of this repository to "/etc/rsyslog.d" - and then do `sudo systemctl restart rsyslog.d`
|
|
#StandardOutput=syslog
|
|
#StandardError=syslog
|
|
#SyslogIdentifier=rhinoreminds
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|