forked from github.com/pypiserver
Update scripts/opensuse/pypiserver.init
Updated pypiserver.init where found some old daemon names and changed status checking to work with opensuse calls. Initially it was issuing calls that did not exist in opensuse.
This commit is contained in:
parent
446c0dbd0e
commit
f9925698bd
@ -17,7 +17,7 @@
|
||||
# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: Daemonized version of deluge.
|
||||
# Description: Starts the deluge daemon.
|
||||
# Description: Starts the pypiserver daemon.
|
||||
### END INIT INFO
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
@ -102,7 +102,8 @@ case "$1" in
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
check_proc "$DAEMON"
|
||||
rc_status -v
|
||||
;;
|
||||
#reload|force-reload)
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user