fix errors and warnings in scripts

This commit is contained in:
wt committed 2024-11-01 15:33:36 +07:00
1 parent 4a8ea1b190
commit 3341df9c89
8 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -7,12 +7,12 @@
start() {
notify "Starting openrouter software"
/usr/bin/auth_service &>/dev/null
/usr/bin/auth_service &>/dev/null &
check $? "start auth_service"
echo $(pgrep auth_service) > /var/run/auth_service.pid
/usr/bin/openrouter &> /dev/null
echo $! > /var/run/auth_service.pid
/usr/bin/openrouter &> /dev/null &
check $? "start openrouter"
echo $(pgrep openrouter) > /var/run/openrouter.pid
echo $! > /var/run/openrouter.pid
return $?
}