Skip to content

Commit 1adc5df

Browse files
authored
Merge pull request slack-samples#33 from abenbecker/master
Adding an example of a systemd service configuration.
2 parents a827779 + ce3c673 commit 1adc5df

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[Unit]
2+
Description=Python Slack Bot.
3+
#After=syslog.target network.target
4+
5+
[Service]
6+
#Type=forking
7+
PrivateTmp=yes
8+
User=root
9+
Group=root
10+
ExecStart=/opt/rtmbot-it/rtmbot.py -c /opt/rtmbot/rtmbot.conf
11+
PIDFile=/var/run/rtmbot/rtmbot.pid
12+
13+
[Install]
14+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)