mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
0d3f8bbcc3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
23 lines
255 B
Bash
23 lines
255 B
Bash
#!/bin/bash
|
|
|
|
case "$1" in
|
|
'start')
|
|
keactrl start
|
|
;;
|
|
'stop')
|
|
keactrl stop
|
|
;;
|
|
'restart')
|
|
keactrl stop
|
|
keactrl start
|
|
;;
|
|
'reload')
|
|
keactrl reload
|
|
;;
|
|
'status')
|
|
keactrl status
|
|
;;
|
|
*)
|
|
echo "usage $0 start|stop|restart|reload|status"
|
|
esac
|
|
|