Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S snf-ganeti
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • itmineduitminedu
  • snf-ganeti
  • Repository
Switch branch/tag
  • snf-ganeti
  • daemons
  • daemon-util.in
Find file BlameHistoryPermalink
  • Jun Futagawa's avatar
    Add support to daemon-util for distributions without start-stop-daemon · 07c7c94a
    Jun Futagawa authored May 15, 2012
    
    
    This adds support to daemon-util for Red Hat based distributions that
    do not have a start-stop-daemon. If /sbin/start-stop-daemon is not
    available, daemon-util will source /etc/rc.d/init.d/functions.
    check(), start(), and stop() are updated to use the relevant functions
    from /etc/rc.d/init.d/functions.
    
    Thanks to Stephen Fromm and Michael Hanselmann for improving the error
    handling, style, and comments.
    
    Signed-off-by: default avatarJun Futagawa <jfut@integ.jp>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    (cherry picked from commit 4b42c3d6)
    07c7c94a