From 09d1959ce6f41c8a78089a21e64ff463724d2f06 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Tue, 6 Dec 2022 12:44:00 +0100 Subject: [PATCH] Stuff --- data/gitea-page.service | 4 ++-- scripts/postinstall.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/gitea-page.service b/data/gitea-page.service index c5b887e..7158455 100644 --- a/data/gitea-page.service +++ b/data/gitea-page.service @@ -4,8 +4,8 @@ After=syslog.target [Service] Type=simple -User=gomailadmin -ExecStart=/usr/local/bin/gitea-page +User=root +ExecStart=/usr/bin/gitea-page SyslogIdentifier=gitea-page StandardOutput=syslog StandardError=syslog diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index a743142..4b25dad 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -2,7 +2,7 @@ FILE=/etc/gitea-page/config.yml if [ -f "$FILE" ]; then systemctl daemon-reload - systemctl restart go-mail-admin + systemctl restart gitea-page else cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml fi \ No newline at end of file