systemd service file

This commit is contained in:
GandC Snow 2021-10-25 14:58:23 +03:00
parent e9a196ff06
commit 1bed274476

13
irc_logmon.service Normal file
View 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