milis/ayarlar/servisler/mbd/init.d/slim

30 lines
433 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
#
# /etc/rc.d/slim: start/stop slim
#
. /lib/lsb/init-functions
case $1 in
start)
log_info_msg "Yerel ayarlar eklendi..."
yerel_ayar
log_info_msg "SLIM başlatılıyor..."
/usr/bin/slim -d
;;
stop)
log_info_msg "SLIM durduruluyor..."
killall /usr/bin/slim
;;
restart)
log_info_msg "SLIM yebaşlatılıyor..."
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file