summaryrefslogtreecommitdiff
path: root/execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-07 23:23:58 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-07 23:23:58 +0200
commitee2b489421ce8b47c08fb42c598c5af47043a9f9 (patch)
tree42ce76a0cd9c766544c3effd60c6954a4a78d7b2 /execute.h
parent0bc824be78848cdf12f19aff4144666dc4114858 (diff)
service: optionally, call setsid() on services
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/execute.h b/execute.h
index cb69bb3bd8..5099a82435 100644
--- a/execute.h
+++ b/execute.h
@@ -93,6 +93,7 @@ struct ExecContext {
bool cpu_sched_reset_on_fork;
bool non_blocking;
+ bool new_session;
ExecInput input;
ExecOutput output;
@@ -148,7 +149,8 @@ typedef enum ExitStatus {
EXIT_GROUP,
EXIT_USER,
EXIT_CAPABILITIES,
- EXIT_CGROUP
+ EXIT_CGROUP, /* 220 */
+ EXIT_SETSID
} ExitStatus;
int exec_spawn(const ExecCommand *command,