10 lines
152 B
Plaintext
10 lines
152 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
"$APP" onearg "$@"
|
||
|
"$APP" exist "$1"
|
||
|
source "$APP" service_env "$1"
|
||
|
ps -u "$SERVICE_USER"
|
||
|
if [ "$?" = "0" ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
exit 1
|