rct-guest/systemd-example.service

17 lines
278 B
SYSTEMD
Raw Normal View History

2019-07-19 05:11:51 +00:00
[Unit]
Description=Reply service for my bot
After=network.target
[Service]
Type=simple
User=bots
WorkingDirectory=/path/to/bot
ExecStart=/usr/bin/python3 /path/to/bot/reply.py
TimeoutSec=3600
Restart=always
RestartSec=30
StartLimitBurst=3
[Install]
WantedBy=multi-user.target