From 4d36c57d38526e864ed5dcbb0353c61de4da2453 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 5 May 2019 02:06:12 +0530 Subject: [PATCH] uno-bot: Use venv Signed-off-by: Harsh Shandilya --- uno-bot.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uno-bot.service b/uno-bot.service index 5a37220..61389e5 100644 --- a/uno-bot.service +++ b/uno-bot.service @@ -7,7 +7,7 @@ Restart=on-abort Type=simple User=bot WorkingDirectory=/home/bot/mau_mau_bot -ExecStart=/home/bot/mau_mau_bot/bot.py +ExecStart=/home/bot/mau_mau_bot/venv/bin/python bot.py ExecReload=/bin/kill -USR1 $MAINPID ; Use graceful shutdown with a reasonable timeout