x86_64 #1

Merged
wt merged 18 commits from x86_64 into main 2024-12-24 11:19:21 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit e7aa54763f - Show all commits

No files matched your search

+3 -3
View File
@@ -6,8 +6,8 @@
#------------------------------------
start() {
otify "Starting gitea"
su gitea -c "/usr/bin/gitea -w /home/gitea" &
notify "Starting gitea"
su gitea -c "/usr/bin/gitea -w /home/gitea" &> /var/log/gitea.log &
check $? "start gitea"
echo $(pgrep gitea) > /var/run/gitea.pid
return $?
@@ -15,7 +15,7 @@ start() {
stop() {
notify "Stopping gitea"
kill $(cat /var/run/gitea.pid)
kill $(cat /var/run/gitea.pid | awk '{print $2}')
check $? "stop gitea"
rm /var/run/gitea.pid &> /dev/null
return $?
+1 -1
View File
@@ -6,7 +6,7 @@
#------------------------------------
start() {
otify "Starting httpd"
notify "Starting httpd"
/usr/bin/httpd -h /srv/www
check $? "start httpd"
echo $(pgrep httpd) > /var/run/httpd.pid