12 lines
189 B
Bash
Executable File

#!/bin/sh
set -e
# Ensure systemd is aware of the new service file
systemctl daemon-reload
# Enable and start Gitea service
systemctl enable gitea
systemctl restart gitea || true
exit 0