Stuff
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Kekskurse 2022-12-06 12:44:00 +01:00
parent e7260b9412
commit 3f25a8ed5d
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4
2 changed files with 3 additions and 3 deletions

View file

@ -4,8 +4,8 @@ After=syslog.target
[Service] [Service]
Type=simple Type=simple
User=gomailadmin User=root
ExecStart=/usr/local/bin/gitea-page ExecStart=/usr/bin/gitea-page
SyslogIdentifier=gitea-page SyslogIdentifier=gitea-page
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog

View file

@ -2,7 +2,7 @@
FILE=/etc/gitea-page/config.yml FILE=/etc/gitea-page/config.yml
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
systemctl daemon-reload systemctl daemon-reload
systemctl restart go-mail-admin systemctl restart gitea-page
else else
cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml
fi fi