systemd unit

This commit is contained in:
xfnw 2020-07-11 22:04:14 +00:00
parent b0c6af6dc2
commit 7a336449dc

10
kim.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Description=kim
[Service]
ExecStart=/bin/sh -c 'source /home/xfnw/env/bin/activate; cd /home/xfnw/kim-irc/; PYTHONUNBUFFERED=1 ./bot.py'
[Install]
WantedBy=default.target