Formated text files
This commit is contained in:
@@ -23,24 +23,24 @@ start_pre() {
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting $RC_SVCNAME"
|
||||
start-stop-daemon --background \
|
||||
--exec $command \
|
||||
--make-pidfile --pidfile $pidfile --user $command_user \
|
||||
--start -- $command_args
|
||||
eend $?
|
||||
ebegin "Starting $RC_SVCNAME"
|
||||
start-stop-daemon --background \
|
||||
--exec $command \
|
||||
--make-pidfile --pidfile $pidfile --user $command_user \
|
||||
--start -- $command_args
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $RC_SVCNAME"
|
||||
start-stop-daemon --stop \
|
||||
--retry TERM/10/KILL/10 \
|
||||
--exec $command \
|
||||
--pidfile $pidfile --user $command_user
|
||||
eend $?
|
||||
ebegin "Stopping $RC_SVCNAME"
|
||||
start-stop-daemon --stop \
|
||||
--retry TERM/10/KILL/10 \
|
||||
--exec $command \
|
||||
--pidfile $pidfile --user $command_user
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
/bin/rm -f /var/lock/one/one
|
||||
/usr/share/one/follower_cleanup
|
||||
/bin/rm -f /var/lock/one/one
|
||||
/usr/share/one/follower_cleanup
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user