diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2014-10-22 18:07:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 10:21:44 -0800 |
commit | 170f4bea2008054e5098f99359e29823a7b4b1b9 (patch) | |
tree | f4033adefc27a924e824c2348132a2b4866e40d1 /crypto/async_tx/raid6test.c | |
parent | 4f689190bb55d171d2f6614f8a6cbd4b868e48bd (diff) |
tools: hv: introduce -n/--no-daemon option
All tools/hv daemons do mandatory daemon() on startup. However, no pidfile
is created, this make it difficult for an init system to track such daemons.
Modern linux distros use systemd as their init system. It can handle the
daemonizing by itself, however, it requires a daemon to stay in foreground
for that. Some distros already carry distro-specific patch for hv tools
which switches off daemon().
Introduce -n/--no-daemon option for all 3 daemons in hv/tools. Parse options
with getopt() to make this part easily expandable.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/async_tx/raid6test.c')
0 files changed, 0 insertions, 0 deletions