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

24 lines
229 B
Plaintext
Raw Normal View History

2017-05-25 19:16:23 +02:00
#!/bin/sh
#
# /etc/rc.d/slim: start/stop slim
#
case $1 in
start)
/usr/bin/slim -d
;;
stop)
killall /usr/bin/slim
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file