#!/bin/sh
. /lib/lsb/init-functions
case "$1" in
start)
log_begin_msg "Starting Zebedee server..."
zebedee -f /etc/zebedee/server.zbd
log_end_msg 0
;;
stop)
log_begin_msg "Stopping Zebedee server..."
killall zebedee
log_end_msg 0
;;
restart)
$0 stop
sleep 1
$0 start
;;
reload|force-reload)
$0 restart
;;
*)
log_success_msg "Usage: /etc/init.d/zebedee start|stop|restart|reload|force-reload"
;;
esac
  1. トップ
  2. pc
  3. /etc/init.d/zebedee