chrony: S49chrony: support a defaults file
For specifying custom options to chrony. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
82d882eef0
commit
9977053659
@ -2,12 +2,14 @@
|
||||
#
|
||||
# Start chrony
|
||||
|
||||
[ -r /etc/default/chrony ] && . /etc/default/chrony
|
||||
|
||||
[ -f /etc/chrony.conf ] || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Starting chrony: "
|
||||
chronyd && echo "OK" || echo "FAIL"
|
||||
chronyd $CHRONY_ARGS && echo "OK" || echo "FAIL"
|
||||
;;
|
||||
stop)
|
||||
printf "Stopping chrony: "
|
||||
|
Loading…
Reference in New Issue
Block a user