123456789101112131415161718192021222324 |
- [Unit]
- Description=IRC bot
- Wants=network-online.target
- After=network.target network-online.target
- StartLimitIntervalSec=960
- StartLimitBurst=16
- [Service]
- Type=forking
- PIDFile=/home/bot/profile/app.pid
- ExecStart=/home/bot/bot /home/bot/profile
- User=bot
- Restart=on-failure
- RestartSec=60
- [Install]
- WantedBy=multi-user.target
|