| 1234567891011121314151617181920 |
- [Unit]
- Description=MyAnimeList Discord Bot
- After=network.target nss-lookup.target
- [Service]
- Type=simple
- WorkingDirectory=/opt/malbot/
- ExecStart=/usr/local/bin/python3.7 /opt/malbot/myanimebot.py
- ExecStop=/bin/kill -15 $MAINPID
- Restart=on-failure
- User=malbot
- Group=malbot
- StandardOutput=syslog
- StandardError=syslog
- SyslogIdentifier=malbot
- [Install]
- WantedBy=multi-user.target
|