Help wanted to finalise wtmpdb init integration

Mark Hindley mark at hindley.org.uk
Wed Mar 5 10:29:31 GMT 2025


On Wed, Mar 05, 2025 at 11:18:35AM +0100, Lorenzo wrote:
> the problem is that the init script should not "restart" on start
> action;
> this is usually done with a check on the pid with start-stop-daemon, but
> wtmpdb is a oneshot so you cant do that.

I think you can just override it:

do_restart_override() {
        : # no-op
}

Mark



More information about the Debian-init-diversity mailing list