milis/talimatname/genel/slim/slim.rc

30 lines
433 B
Plaintext
Raw Normal View History

2016-03-12 17:24:37 +01:00
#!/bin/sh
#
# /etc/rc.d/slim: start/stop slim
#
2017-06-06 06:26:31 +02:00
. /lib/lsb/init-functions
2016-03-12 17:24:37 +01:00
case $1 in
start)
2017-06-06 06:26:31 +02:00
log_info_msg "Yerel ayarlar eklendi..."
yerel_ayar
log_info_msg "SLIM başlatılıyor..."
2016-03-12 17:24:37 +01:00
/usr/bin/slim -d
;;
stop)
2017-06-06 06:26:31 +02:00
log_info_msg "SLIM durduruluyor..."
2016-03-12 17:24:37 +01:00
killall /usr/bin/slim
;;
restart)
2017-06-06 06:26:31 +02:00
log_info_msg "SLIM yebaşlatılıyor..."
2016-03-12 17:24:37 +01:00
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file