From 84c06856785820e29ed58856ba35da05d4bb9966 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 10 Nov 2018 21:17:34 +0000 Subject: [PATCH] Add systemd service file --- rhinoreminds.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 rhinoreminds.service diff --git a/rhinoreminds.service b/rhinoreminds.service new file mode 100644 index 0000000..196e04a --- /dev/null +++ b/rhinoreminds.service @@ -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