#!/bin/bash
# chkconfig: 2345 91 90 // 91Àº chkconfig add ½Ã ½ÃÀÛÇÒ¶§ ³Ñ¹ö 90Àº Á×¾îÀÖÀ»¶§ ³Ñ¹ö
# description: test service // ¿©±â±îÁö ¼¼ÁÙÀº ²À³Ö¾îÁà¾ß ÇÔ
case "$1" in
start)
touch /root/theko.deamon
;;
stop)
rm -rf /root/theko.deamon
;;
*)
echo "Usage {start|stop}"
exit 1
;;
esac
exit 0
# chmod 755 theko
# mv theko /etc/init.d/
# chkconfig --add theko
# chkconfig theko on