How to switch Serviio status by program/script?
Hello,
On my system (macOS laptot) I observe that Serviio always restarts after a system reboot, even if I used the Serviio-console to switch Serviio status to "Stopped" before.
Then, I would like to write a script to switch back Serviio status to "Stopped" (and not "Running") during my system bootup, because I may use and reboot my laptop sometimes in other places that home and I don't want it to be running and responding outside my local netwrok.
On the FAQ i found this topic (http://serviio.org/component/content/article?id=21#q13)
Nevertheless, this is not really helpful for me because it does not do the same as a user switch in Serviio-Console between "Running" and "Stopped" for Serviio Status
1) those 2 system commands require admin password while user in Serviio-Console not.
2) if you "stop" the server with this command, it's not the same than stopping it with the Serviio-Console. After launchctl unload, Serviio-Console is not longer able to work, and the user cannot use it any longer to switch Serviio Statut back to running.
So Iim really looking for a way to perform exactly the same action as a manual user-click on "Stop" in the Serviio-console.
Maybe is there a way through web inferface? Or other way through the API?
best regards.
On my system (macOS laptot) I observe that Serviio always restarts after a system reboot, even if I used the Serviio-console to switch Serviio status to "Stopped" before.
Then, I would like to write a script to switch back Serviio status to "Stopped" (and not "Running") during my system bootup, because I may use and reboot my laptop sometimes in other places that home and I don't want it to be running and responding outside my local netwrok.
On the FAQ i found this topic (http://serviio.org/component/content/article?id=21#q13)
Nevertheless, this is not really helpful for me because it does not do the same as a user switch in Serviio-Console between "Running" and "Stopped" for Serviio Status
1) those 2 system commands require admin password while user in Serviio-Console not.
2) if you "stop" the server with this command, it's not the same than stopping it with the Serviio-Console. After launchctl unload, Serviio-Console is not longer able to work, and the user cannot use it any longer to switch Serviio Statut back to running.
So Iim really looking for a way to perform exactly the same action as a manual user-click on "Stop" in the Serviio-console.
Maybe is there a way through web inferface? Or other way through the API?
best regards.