Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/daemon.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2269 by niro, Tue Jan 14 10:34:57 2014 UTC revision 2302 by niro, Mon Jan 20 14:02:27 2014 UTC
# Line 28  stop_service() Line 28  stop_service()
28   local pid   local pid
29   for pid in $(pidof sslsvd)   for pid in $(pidof sslsvd)
30   do   do
31   kill -15 ${pid}   kill -SIGTERM ${pid}
  sleep 1  
  kill -9 ${pid}  
32   done   done
33  }  }
34    
# Line 54  stop_service() Line 52  stop_service()
52  # run_class $method $caller $argv1 $argv2 ... $argvN  # run_class $method $caller $argv1 $argv2 ... $argvN
53  run_class()  run_class()
54  {  {
55   local method="${GLOBAL_ARGV[0]"   local method="${GLOBAL_ARGV[0]}"
56   local caller="${GLOBAL_ARGV[1]"   local caller="${GLOBAL_ARGV[1]}"
57   local class   local class
58   local cmd   local cmd
59   local i   local i

Legend:
Removed from v.2269  
changed lines
  Added in v.2302