File: errbot@.service

package info (click to toggle)
errbot 6.1.7+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,712 kB
  • sloc: python: 13,831; makefile: 164; sh: 97
file content (18 lines) | stat: -rw-r--r-- 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Start errbot-%i chatbot
Documentation=http://errbot.io/en/latest/
After=network.service

[Service]
ExecStartPre=mkdir -p /var/lib/errbot-%i/plugins /var/lib/errbot-%i/data
ExecStart=/usr/bin/errbot --config /etc/errbot/%i-config.py
WorkingDirectory=/var/lib/errbot-%i/
Restart=on-failure
KillSignal=SIGINT
PrivateDevices=yes
NoNewPrivileges=yes
DynamicUser=yes
StateDirectory=errbot-%i

[Install]
WantedBy=multi-user.target