network/chrony: Fix pid file path.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Ellis 2018-12-30 07:12:12 +07:00 committed by Willy Sudiarto Raharjo
parent fe81f32aff
commit 5ec69cedb6
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -18,7 +18,7 @@ chronyd_stop() {
echo "chronyd does not seem to be running."
else
echo "Stopping chronyd..."
kill $(cat /var/run/chronyd.pid)
kill $(cat /var/run/chrony/chronyd.pid)
fi
}