Would a flush operation at shutdown be good?
Asked by
Jim Cheetham
When shutting down the dnetc client, I'd like to flush any completed work to the dnet servers.
This could be inplemented with an option in /etc/default/
FLUSHONSTOP=true
and a small addition to the "stop)" section of /etc/init.
...
if start-stop-daemon --quiet --stop --signal 0 --user daemon --name dnetc 2>/dev/null; then
----- if [ ! -z "$FLUSHONSTOP" ]; then
fi
su daemon -c "$DAEMON $OPTIONS -shutdown" 2>&1
...
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jim Cheetham
- Solved:
- Last query:
- Last reply:
To post a message you must log in.