svc.sh: change unenable to disable
This commit is contained in:
parent
38ac94ceaa
commit
38ef6ec0a3
6
svc.sh
6
svc.sh
@ -35,7 +35,7 @@ help(){
|
||||
printf """
|
||||
svc - Service Commander - frontend for the sv command
|
||||
|
||||
Usage: svc enable | unenable | enableed | list | up | start | restart | stop <service>
|
||||
Usage: svc enable | disable | enabled | list | up | start | restart | stop <service>
|
||||
|
||||
|
||||
For detailed help, see the commands below:
|
||||
@ -45,7 +45,7 @@ start Start an enabled service
|
||||
restart Restart a enabled service
|
||||
stop Stop an enabled service
|
||||
enable Symenlink directory/file to /var/service
|
||||
unenable Remove symlink from /var/service
|
||||
disable Remove symlink from /var/service
|
||||
enabled View synlinked paths of all services
|
||||
ls List enabled and unenabled service files
|
||||
up Show status of running services
|
||||
@ -59,7 +59,7 @@ case $1 in
|
||||
ln -v -s /etc/sv/"${2}" /var/service/
|
||||
;;
|
||||
|
||||
unenable | --remove-service )
|
||||
disable | --remove-service )
|
||||
rm -v /var/service/"${2}"
|
||||
;;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user