aboutsummaryrefslogtreecommitdiff
path: root/FunnyPineappleBot.sample.service
diff options
context:
space:
mode:
authorIgor <50257429+igorechek06@users.noreply.github.com>2021-08-28 21:10:16 +0900
committerIgor <50257429+igorechek06@users.noreply.github.com>2021-08-28 21:10:16 +0900
commita8582c60e3bed5b93c989e2963d40130771cf11d (patch)
tree747f2cfe1a8a8f003cba81d92ebe3822b4adc419 /FunnyPineappleBot.sample.service
parent2efa35c42be7ac554e3519b8673f7cad8c966e64 (diff)
downloadkarpov_ai_bot-a8582c60e3bed5b93c989e2963d40130771cf11d.tar.gz
karpov_ai_bot-a8582c60e3bed5b93c989e2963d40130771cf11d.zip
0.0.1
Diffstat (limited to 'FunnyPineappleBot.sample.service')
-rw-r--r--FunnyPineappleBot.sample.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/FunnyPineappleBot.sample.service b/FunnyPineappleBot.sample.service
new file mode 100644
index 0000000..210b267
--- /dev/null
+++ b/FunnyPineappleBot.sample.service
@@ -0,0 +1,18 @@
1[Unit]
2Description=Telegram bot from FunnyPineappleChat
3After=syslog.target
4After=network.target
5
6[Service]
7Type=simple
8User={username}
9WorkingDirectory={path}
10ExecStart={py_path} main.py -m
11KillMode=control-group
12KillSignal=15
13SendSIGKILL={send_kill}
14RestartSec=5
15Restart=always
16
17[Install]
18WantedBy=multi-user.target \ No newline at end of file