mirror of
https://github.com/a-bad-dev/irc2bash.git
synced 2026-06-08 16:42:10 +00:00
Add systemd service
This commit is contained in:
parent
e682656fe5
commit
9385149bc2
1 changed files with 17 additions and 0 deletions
17
rce.service
Normal file
17
rce.service
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue