gitea-page/scripts/postinstall.sh
2022-12-06 12:19:14 +01:00

8 lines
No EOL
205 B
Bash

#/bin/sh
FILE=/etc/gitea-page/config.yml
if [ -f "$FILE" ]; then
systemctl daemon-reload
systemctl restart go-mail-admin
else
cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml
fi