milis/talimatname/genel/slim/slim.rc

24 lines
229 B
Plaintext
Raw Normal View History

2016-03-12 17:24:37 +01: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