This commit is contained in:
milisarge 2017-06-06 08:15:04 +03:00
parent 79224f65fa
commit 1c28c92e98
1 changed files with 6 additions and 0 deletions

6
ayarlar/servisler/mbd/init.d/slim Executable file → Normal file
View File

@ -2,15 +2,21 @@
#
# /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