diff options
Diffstat (limited to 'FunnyPineappleBot.sample.service')
| -rw-r--r-- | FunnyPineappleBot.sample.service | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/FunnyPineappleBot.sample.service b/FunnyPineappleBot.sample.service deleted file mode 100644 index 210b267..0000000 --- a/FunnyPineappleBot.sample.service +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Telegram bot from FunnyPineappleChat | ||
| 3 | After=syslog.target | ||
| 4 | After=network.target | ||
| 5 | |||
| 6 | [Service] | ||
| 7 | Type=simple | ||
| 8 | User={username} | ||
| 9 | WorkingDirectory={path} | ||
| 10 | ExecStart={py_path} main.py -m | ||
| 11 | KillMode=control-group | ||
| 12 | KillSignal=15 | ||
| 13 | SendSIGKILL={send_kill} | ||
| 14 | RestartSec=5 | ||
| 15 | Restart=always | ||
| 16 | |||
| 17 | [Install] | ||
| 18 | WantedBy=multi-user.target \ No newline at end of file | ||
