mirror of
https://github.com/tsingui/softcenter-1.git
synced 2025-04-04 15:55:24 +00:00
25 lines
370 B
Bash
25 lines
370 B
Bash
#!/bin/sh
|
|
|
|
case $ACTION in
|
|
start)
|
|
service_start $PROCS $ARGS
|
|
;;
|
|
stop | kill )
|
|
service_stop $PROCS
|
|
;;
|
|
restart)
|
|
service_stop $PROCS
|
|
service_start $PROCS $ARGS
|
|
;;
|
|
check)
|
|
service_check $PROCS
|
|
;;
|
|
reconfigure)
|
|
service_reload $PROCS $ARGS
|
|
;;
|
|
*)
|
|
echo "Usage: $0 (start|stop|restart|check|kill|reconfigure)"
|
|
exit 1
|
|
;;
|
|
esac
|