-* Prevent PROCESS services from being starts-on-console without also being runs-on-console.
-
* shutdown command presently hangs if terminal output blocked (scroll lock
via ^S). Should use a buffer as dinit does, and pipe output from subcommands
via the buffer too - if the buffer becomes full, discard subcommand output
----------------
* Man pages for all programs (done for dinit, not for dinitctl/shutdown/etc).
* Write wtmp entry on startup (see simpleinit)
-* Allow running services as a different UID
* "triggered" service type: external process notifies Dinit when the service
has started.
* Ability to reload stopped services (reload service description)
rvalps->set_start_interruptible(start_is_interruptible);
rvalps->set_extra_termination_signal(term_signal);
rvalps->set_run_as_uid_gid(run_as_uid, run_as_gid);
+ // process service start / run on console must be the same:
+ onstart_flags.starts_on_console = onstart_flags.runs_on_console;
rval = rvalps;
}
else if (service_type == service_type_t::BGPROCESS) {
rvalps->set_start_interruptible(start_is_interruptible);
rvalps->set_extra_termination_signal(term_signal);
rvalps->set_run_as_uid_gid(run_as_uid, run_as_gid);
+ onstart_flags.runs_on_console = false;
rval = rvalps;
}
else if (service_type == service_type_t::SCRIPTED) {