Add systemd service

This commit is contained in:
Jordyn 2026-03-14 19:21:56 -05:00
commit 9385149bc2

17
rce.service Normal file
View file

@ -0,0 +1,17 @@
[Unit]
Description=RCE IRC Bot
After=network-online.target
[Service]
ExecStart=/root/irc2bash/main.py
Restart=always
User=root
Group=root
# These require a recent version of systemd, but they are useful to avoid the users
# thrasing your SSD with excessive IO.
# IOWriteBandwidthMax=/dev/sda 10M
# IOReadBandwidthMax=/dev/sda 25M
[Install]
WantedBy=multi-user.target