ADD restart options
This commit is contained in:
parent
b04ba759c9
commit
ebaf5055ef
|
@ -42,6 +42,10 @@ elif [[ "$1" == "stop" ]]; then
|
||||||
stop_daemon
|
stop_daemon
|
||||||
elif [[ "$1" == "kill" ]]; then
|
elif [[ "$1" == "kill" ]]; then
|
||||||
kill_daemon
|
kill_daemon
|
||||||
|
elif [[ "$1" == "restart" ]]; then
|
||||||
|
restart_daemon &
|
||||||
|
elif [[ "$1" == "hard_restart" ]]; then
|
||||||
|
hard_restart_daemon &
|
||||||
elif [[ "$1" == "theme" ]]; then
|
elif [[ "$1" == "theme" ]]; then
|
||||||
if [[ "$2" == "toggle" ]]; then
|
if [[ "$2" == "toggle" ]]; then
|
||||||
# if no state file assume light theme
|
# if no state file assume light theme
|
||||||
|
|
Loading…
Reference in New Issue