systemd service file
This commit is contained in:
parent
e9a196ff06
commit
1bed274476
13
irc_logmon.service
Normal file
13
irc_logmon.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=IRC log server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=bot
|
||||
ExecStart=/usr/bin/python3 /home/bot/irc-logmon-bot/server.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
x
Reference in New Issue
Block a user