Patch bog.service
This commit is contained in:
parent
9d388996e9
commit
6841e49104
|
@ -14,18 +14,16 @@ User=bot
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
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.
|
; Configure Hubot environment variables, use quotes around vars with whitespace as shown below.
|
||||||
Environment=TELEGRAM_TOKEN=""
|
Environment=TELEGRAM_TOKEN=""
|
||||||
Environment=TELEGRAM_INTERVAL="3500"
|
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
|
; Alternatively multiple environment variables can loaded from an external file
|
||||||
;EnvironmentFile=/etc/hubot-environment
|
;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
|
ExecStart=/home/bot/G1LibreBot/bin/hubot --name "G1LibreBot" -a telegram
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue