systemd unit
This commit is contained in:
parent
b0c6af6dc2
commit
7a336449dc
1 changed files with 10 additions and 0 deletions
10
kim.service
Normal file
10
kim.service
Normal 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue