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/supervise-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/supervise-daemon.sh')
-rw-r--r-- | sh/supervise-daemon.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/supervise-daemon.sh b/sh/supervise-daemon.sh index be4c9d71..39fe5727 100644 --- a/sh/supervise-daemon.sh +++ b/sh/supervise-daemon.sh @@ -37,6 +37,7 @@ supervise_start() ${healthcheck_delay:+--healthcheck-delay} $healthcheck_delay \ ${healthcheck_timer:+--healthcheck-timer} $healthcheck_timer \ ${capabilities+--capabilities} "$capabilities" \ + ${secbits:+--secbits} "$secbits" \ ${command_user+--user} $command_user \ ${umask+--umask} $umask \ ${supervise_daemon_args:-${start_stop_daemon_args}} \ |