From 6841e49104ffd843d30e423b40e4dd1357965d64 Mon Sep 17 00:00:00 2001 From: poka Date: Fri, 7 Aug 2020 17:51:00 +0200 Subject: [PATCH] Patch bog.service --- .bog.service | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.bog.service b/.bog.service index d1159cf..1103ed0 100644 --- a/.bog.service +++ b/.bog.service @@ -14,18 +14,16 @@ User=bot Restart=always RestartSec=10 +StandardOutput=file:/var/log/g1librebot.log +StandardError=file:/var/log/g1librebot.log + ; Configure Hubot environment variables, use quotes around vars with whitespace as shown below. Environment=TELEGRAM_TOKEN="" Environment=TELEGRAM_INTERVAL="3500" -;Environment=PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH" - -StandardOutput=file:/var/log/g1librebot.log -StandardError=file:/var/log/g1librebot.log ; Alternatively multiple environment variables can loaded from an external file ;EnvironmentFile=/etc/hubot-environment -;ExecStart=/home/bot/G1LibreBot/node_modules/.bin/hubot --name "G1LibreBot" -a telegram ExecStart=/home/bot/G1LibreBot/bin/hubot --name "G1LibreBot" -a telegram [Install]