mirror of https://xfnw.ttm.sh/git/oirc.git
daemonize all the things
This commit is contained in:
parent
a92a02e85f
commit
b2c44e8bfd
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=oirc bot
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/bin/sh -c 'source /home/xfnw/env/bin/activate; cd /home/xfnw/oirc-bot/; PYTHONUNBUFFERED=1 ./bot.py'
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue