[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#60979: What /etc/init.d/xxx restart does?



Package: debian-policy
Version: 2.5.0.0

In section 3.3.2. is not clear what 'restart' does.

1. restart=stop and start
or
2. if service is running, stop it and start it, when is not
running, do not start it.

Better is to define new standard as found in some packages:
restart=method 2
force-restart=method 1

This helps system administrators to writing their crontabs scripts,
which needs to restart the service without check if service is
really running. When service was stopped by
sysadmin (for example for saving system resources) is not good
idea to restart it by cron's daily scripts.


Reply to: