aboutsummaryrefslogtreecommitdiff
path: root/FunnyPineappleBot.sample.service
blob: 210b267637fd8fe8b4f6829ad9bdb002cb997197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Telegram bot from FunnyPineappleChat
After=syslog.target
After=network.target

[Service]
Type=simple
User={username}
WorkingDirectory={path}
ExecStart={py_path} main.py -m
KillMode=control-group
KillSignal=15
SendSIGKILL={send_kill}
RestartSec=5
Restart=always

[Install]
WantedBy=multi-user.target