From dd528c01e56bd6958a5fe54fa4a5c19d1b513abf Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Sun, 2 Jan 2022 04:31:17 +0100 Subject: [PATCH] Fix init scripts --- init/openrc | 4 ++-- init/systemd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init/openrc b/init/openrc index b30bdbe..a5b06da 100644 --- a/init/openrc +++ b/init/openrc @@ -2,6 +2,6 @@ description="Telegram logger" command="/usr/bin/telelog" -command_user="log:log" +command_user="telelog:telelog" command_background=true -pidfile="/run/ubot.pid" +pidfile="/run/telelog.pid" diff --git a/init/systemd b/init/systemd index 06a03d6..33beb87 100644 --- a/init/systemd +++ b/init/systemd @@ -3,7 +3,7 @@ Description=Telegram logger [Service] Type=simple -User=log +User=telelog ExecStart=/usr/bin/telelog Restart=always RestartSec=0