Debian Codegraph @

docs/code_examples/systemd.service

raw
1 [Unit]
2 Description=Start Errbot chatbot
3 After=network.service
4
5 [Service]
6 Environment="LC_ALL=en_US.UTF-8"
7 Environment="PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/path/to/errbot/virtualenv/bin"
8 ExecStart=/path/to/errbot/virtualenv/bin/errbot --config /path/to/errbot/config.py
9 WorkingDirectory=/path/to/errbot/
10 User=errbot
11 Restart=always
12 KillSignal=SIGINT
13
14 [Install]
15 WantedBy=multi-user.target