Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'volumio vstop' work #1428

Merged
merged 2 commits into from
Dec 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ clear

[[VOLUMIO SERVICE CONTROL]]

start Starts Volumio Service
vstart Starts Volumio Service
vstop Stops Volumio Service
restart Restarts Volumio Service
vrestart Restarts Volumio Service

[[VOLUMIO DEVELOPMENT]]

Expand All @@ -55,7 +55,7 @@ plugin update updates the plugin

#VOLUMIO SERVICE CONTROLS

start() {
vstart() {
echo volumio | sudo -S systemctl start volumio.service
}

Expand Down Expand Up @@ -127,20 +127,20 @@ case "$1" in
stopairplay)
/usr/bin/curl "http://127.0.0.1:3000/api/v1/commands/?cmd=stopAirplay"
;;
start)
start
vstart)
vstart
;;
start)
start
vstart)
vstart
;;

vstop)
stop
vstop
;;

restart)
stop
start
vrestart)
vstop
vstart
;;

status)
Expand Down