Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #33 from abenbecker/master
Browse files Browse the repository at this point in the history
Adding an example of a systemd service configuration.
  • Loading branch information
Roach committed Mar 30, 2018
2 parents a827779 + ce3c673 commit 1adc5df
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/example-serviced/rtmbot.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=Python Slack Bot.
#After=syslog.target network.target

[Service]
#Type=forking
PrivateTmp=yes
User=root
Group=root
ExecStart=/opt/rtmbot-it/rtmbot.py -c /opt/rtmbot/rtmbot.conf
PIDFile=/var/run/rtmbot/rtmbot.pid

[Install]
WantedBy=multi-user.target

0 comments on commit 1adc5df

Please sign in to comment.