Compare commits
No commits in common. "main" and "0.0.1-rc2" have entirely different histories.
3 changed files with 3 additions and 13 deletions
|
@ -36,8 +36,6 @@ nfpms:
|
|||
dst: /etc/gitea-page/nginx-config-template.txt.example
|
||||
- src: data/info.txt
|
||||
dst: /var/gite-page
|
||||
- src: data/gitea-page.service
|
||||
dst: /etc/systemd/system/gitea-page.service
|
||||
scripts:
|
||||
postinstall: "scripts/postinstall.sh"
|
||||
changelog:
|
||||
|
|
|
@ -4,8 +4,8 @@ After=syslog.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
ExecStart=/usr/bin/gitea-page
|
||||
User=gomailadmin
|
||||
ExecStart=/usr/local/bin/gitea-page
|
||||
SyslogIdentifier=gitea-page
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
|
|
|
@ -2,15 +2,7 @@
|
|||
FILE=/etc/gitea-page/config.yml
|
||||
if [ -f "$FILE" ]; then
|
||||
systemctl daemon-reload
|
||||
systemctl restart gitea-page
|
||||
systemctl restart go-mail-admin
|
||||
else
|
||||
cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml
|
||||
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
|
Loading…
Reference in a new issue