diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-07 23:23:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-07 23:23:58 +0200 |
commit | ee2b489421ce8b47c08fb42c598c5af47043a9f9 (patch) | |
tree | 42ce76a0cd9c766544c3effd60c6954a4a78d7b2 /execute.h | |
parent | 0bc824be78848cdf12f19aff4144666dc4114858 (diff) |
service: optionally, call setsid() on services
Diffstat (limited to 'execute.h')
-rw-r--r-- | execute.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, |