Searched refs:SERVICE_ONESHOT (Results 1 - 2 of 2) sorted by relevance

/systemd/src/core/
H A Dservice.h45 SERVICE_ONESHOT, /* we fork and wait until the program finishes (i.e. programs like fsck which run and need to finish before we continue) */ enumerator in enum:ServiceType
H A Dservice.c467 if (s->type != SERVICE_ONESHOT && !s->exec_command[SERVICE_EXEC_START]) {
477 if (s->type != SERVICE_ONESHOT && s->exec_command[SERVICE_EXEC_START]->command_next) {
482 if (s->type == SERVICE_ONESHOT && s->restart != SERVICE_RESTART_NO) {
487 if (s->type == SERVICE_ONESHOT && !exit_status_set_is_empty(&s->restart_force_status)) {
511 if (s->runtime_max_usec != USEC_INFINITY && s->type == SERVICE_ONESHOT)
624 s->type = SERVICE_ONESHOT;
628 if (s->type == SERVICE_ONESHOT && !s->start_timeout_defined)
1007 ((s->deserialized_state == SERVICE_START && IN_SET(s->type, SERVICE_FORKING, SERVICE_DBUS, SERVICE_ONESHOT, SERVICE_NOTIFY)) ||
1727 assert(s->type == SERVICE_ONESHOT);
1766 } else if (IN_SET(s->type, SERVICE_ONESHOT, SERVICE_DBU
[all...]

Completed in 17 milliseconds