slim-servis
This commit is contained in:
parent
43b23c1bcc
commit
32351e44fb
|
@ -478,6 +478,16 @@ kur-smartd: dizinleri-olustur
|
||||||
ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc5.d/S21smartd
|
ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc5.d/S21smartd
|
||||||
ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc6.d/K70smartd
|
ln -sf ../init.d/smartd ${EXTDIR}/rc.d/rc6.d/K70smartd
|
||||||
|
|
||||||
|
kur-slim: dizinleri-olustur
|
||||||
|
install -m ${MODE} mbd/init.d/slim ${EXTDIR}/rc.d/init.d/
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc0.d/K05slim
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc1.d/K05slim
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc2.d/K05slim
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc3.d/K05slim
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc4.d/K05slim
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc5.d/S95slim
|
||||||
|
ln -sf ../init.d/slim ${EXTDIR}/rc.d/rc6.d/K05slim
|
||||||
|
|
||||||
kur-soprano: dizinleri-olustur
|
kur-soprano: dizinleri-olustur
|
||||||
install -m ${MODE} mbd/init.d/soprano ${EXTDIR}/rc.d/init.d/
|
install -m ${MODE} mbd/init.d/soprano ${EXTDIR}/rc.d/init.d/
|
||||||
ln -sf ../init.d/soprano ${EXTDIR}/rc.d/rc0.d/K35soprano
|
ln -sf ../init.d/soprano ${EXTDIR}/rc.d/rc0.d/K35soprano
|
||||||
|
@ -902,6 +912,16 @@ sil-slapd:
|
||||||
rm -f ${EXTDIR}/rc.d/rc5.d/S25slapd
|
rm -f ${EXTDIR}/rc.d/rc5.d/S25slapd
|
||||||
rm -f ${EXTDIR}/rc.d/rc6.d/K46slapd
|
rm -f ${EXTDIR}/rc.d/rc6.d/K46slapd
|
||||||
|
|
||||||
|
sil-slim:
|
||||||
|
rm -f ${EXTDIR}/rc.d/init.d/slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc0.d/K05slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc1.d/K05slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc2.d/K05slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc3.d/K05slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc4.d/K05slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc5.d/S95slim
|
||||||
|
rm -f ${EXTDIR}/rc.d/rc6.d/K05slim
|
||||||
|
|
||||||
ukur-smartd: c
|
ukur-smartd: c
|
||||||
rm -f ${EXTDIR}/rc.d/init.d/smartd
|
rm -f ${EXTDIR}/rc.d/init.d/smartd
|
||||||
rm -f ${EXTDIR}/rc.d/rc0.d/K70smartd
|
rm -f ${EXTDIR}/rc.d/rc0.d/K70smartd
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/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
|
Loading…
Reference in New Issue