chiark / gitweb /
service: ignore SIGPIPE by default
[elogind.git] / src / service.c
index a190a73b483d1857d7d76408a1d0be1b2000e13d..9ccb1b6bc10318e9cb68c44d40cfeed9c0571aa4 100644 (file)
@@ -894,6 +894,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
         s->remain_after_exit = !s->pid_file;
         s->guess_main_pid = false;
         s->restart = SERVICE_RESTART_NO;
+        s->exec_context.ignore_sigpipe = false;
 
         if (UNIT(s)->manager->sysv_console)
                 s->exec_context.std_output = EXEC_OUTPUT_JOURNAL_AND_CONSOLE;