added gitea.service

This commit is contained in:
wt
2024-12-12 17:35:35 +07:00
parent 3b90141f90
commit 28d377cb36
+1 -1
View File
@@ -7,7 +7,7 @@
start() {
otify "Starting gitea"
su gitea -c "/usr/bin/gitea -w /home/gitea"
su gitea -c "/usr/bin/gitea -w /home/gitea" &
check $? "start gitea"
echo $(pgrep gitea) > /var/run/gitea.pid
return $?