diff options
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index 47108503dd..646749ed9c 100644 --- a/src/service.c +++ b/src/service.c @@ -1846,7 +1846,8 @@ static void service_run_next(Service *s, bool success) { false, !s->permissions_start_only, !s->root_directory_start_only, - false, + s->control_command_id == SERVICE_EXEC_START_PRE || + s->control_command_id == SERVICE_EXEC_STOP_POST, false, &s->control_pid)) < 0) goto fail; |