From 7a336449dcfeca7f76b2e42a0fc501a11255014b Mon Sep 17 00:00:00 2001 From: xfnw Date: Sat, 11 Jul 2020 22:04:14 +0000 Subject: [PATCH] systemd unit --- kim.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 kim.service diff --git a/kim.service b/kim.service new file mode 100644 index 0000000..e4e8ec6 --- /dev/null +++ b/kim.service @@ -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 + +