Compare commits

..

No commits in common. "main" and "0.0.1-rc4" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View file

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

View file

@ -2,15 +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 gitea-page systemctl restart go-mail-admin
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
FILE=/etc/gitea-page/nginx-config-template.txt.example
if [ -f "$FILE" ]; then
echo "Dont update config"
else
cp /etc/gitea-page/nginx-config-template.txt.example /etc/gitea-page/nginx-config-template.txt
fi