Edit

IABSD.fr/ports/sysutils/runit/files

Branch :

  • Show log

    Commit

  • Author : jca
    Date : 2018-11-13 16:54:08
    Hash : a83efc05
    Message : The default service dir is /service; fix rc.shutdown Reported by Sören (soeren at soeren-tempel dot net) While here, test whether the dir actually exist. And remove mention of the migration from /var/service to /service, it's been a long time.

  • rc.shutdown
  • # $OpenBSD: rc.shutdown,v 1.5 2018/11/13 16:54:08 jca Exp $
    #
    # Stop runit services.
    
    [ -e /service ] || exit 0
    
    echo 'Waiting for runit services to stop...'
    ${TRUEPREFIX}/sbin/sv -w196 force-stop /service/*
    ${TRUEPREFIX}/sbin/sv exit /service/*