Add systemd service file

This commit is contained in:
Neshura 2023-12-30 01:30:53 +01:00
parent 5e565df7c0
commit 75d479b4e2
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 16 additions and 3 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description="Bot for automatically posting new chapters of 'Ascendance of a Bookworm' released by J-Novel Club"
After=syslog.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/aob-lemmy-bot
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target