view README.rc.md @ 63:f169a2d6faa8

python/py-docutils: initial import, closes #1128
author Stéphane Péquignot <contact@stephanepequignot.fr>
date Tue, 05 Mar 2019 17:46:35 +0100
parents afb6f8eb89da
children
line wrap: on
line source

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
```