sys-auth/CASA: update init script
This commit is contained in:
18
branches/experimental/sys-auth/CASA/files/micasad.cmake
Normal file
18
branches/experimental/sys-auth/CASA/files/micasad.cmake
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
depend() {
|
||||
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting miCASA daemon"
|
||||
@SBIN_INSTALL_DIR@/micasad
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
pid=`cat /var/run/micasad.pid`
|
||||
ebegin "Stopping miCASA daemon"
|
||||
kill -TERM $pid
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user