chore: service manager helper functions new name
This commit is contained in:
parent
b52a7b15fe
commit
0fd8e4b83e
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ alias svstatus="sudo sv status"
|
||||||
alias svon="sudo sv up"
|
alias svon="sudo sv up"
|
||||||
alias svoff="sudo sv down"
|
alias svoff="sudo sv down"
|
||||||
|
|
||||||
svadd() {
|
svenable() {
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Error: Please provide the path of the service to add"
|
echo "Error: Please provide the path of the service to add"
|
||||||
return 1
|
return 1
|
||||||
|
@ -39,7 +39,7 @@ svadd() {
|
||||||
sudo ln -s $1 /var/service
|
sudo ln -s $1 /var/service
|
||||||
}
|
}
|
||||||
|
|
||||||
svremove() {
|
svdisable() {
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Error: Please provide the name of the service to remove"
|
echo "Error: Please provide the name of the service to remove"
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue