diff options
author | LinkTed <link.ted@mailbox.org> | 2022-01-03 17:41:57 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2022-02-06 17:17:46 -0500 |
commit | 79e5edc1a3187ef63bed80fe4ecb05a898b68f00 (patch) | |
tree | 6486571e87c6a4a566d980e1422584e13cc68130 /sh/start-stop-daemon.sh | |
parent | e045591845ab993d67a131f75a838e5993845de3 (diff) |
capabilities: Add support for securebits flags
This adds securebits flags for start-stop-daemon and supervise-daemon
by adding --secbits option. As a result, the user can specify
securebits the program should run with. see capabilities(7)
Diffstat (limited to 'sh/start-stop-daemon.sh')
-rw-r--r-- | sh/start-stop-daemon.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/start-stop-daemon.sh b/sh/start-stop-daemon.sh index 02a7cd84..bbb4da37 100644 --- a/sh/start-stop-daemon.sh +++ b/sh/start-stop-daemon.sh @@ -54,6 +54,7 @@ ssd_start() ${output_logger_arg} \ ${error_logger_arg} \ ${capabilities+--capabilities} "$capabilities" \ + ${secbits:+--secbits} "$secbits" \ ${procname:+--name} $procname \ ${pidfile:+--pidfile} $pidfile \ ${command_user+--user} $command_user \ |