chiark / gitweb /
exec: introduce global defaults for the standard output of services
[elogind.git] / src / mount.c
index d9f3da6c48e3c5d9621b31a3c338871192db431d..1f311cee41cf3f243d4b0c3cb703411956fd4e99 100644 (file)
@@ -64,6 +64,7 @@ static void mount_init(Unit *u) {
         m->directory_mode = 0755;
 
         exec_context_init(&m->exec_context);
+        m->exec_context.std_output = EXEC_OUTPUT_KMSG;
 
         /* We need to make sure that /bin/mount is always called in
          * the same process group as us, so that the autofs kernel