Mercurial > vanilla
changeset 135:3565bfc4a451
vanilla: remove README.rc.md for now
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 11 Mar 2019 11:45:04 +0100 |
parents | 611ec6dd6db6 |
children | e737b80da269 |
files | README.rc.md |
diffstat | 1 files changed, 0 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/README.rc.md Sun Mar 10 20:25:54 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -vanilla init scripts -==================== - -If a package provide a init script, it is installed as /etc/rc.d/name where -name is the canonical package name. - -Then enable it in /etc/rc.single or /etc/rc.multi. We recommend checking the -executable permissions to allow disabling/enabling services without editing -files. - -Example in /etc/rc.multi: - -```sh -if [ -x /etc/rc.d/acpid ]; then - /etc/rc.d/acpid start -fi -``` - -Don't forget to shutdown gracefully in /etc/rc.shutdown: - -```sh -if [ -x /etc/rc.d/acpid ]; then - /etc/rc.d/acpid stop -fi -```