10 lines
152 B
Bash
10 lines
152 B
Bash
#!/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
|