summaryrefslogtreecommitdiff
path: root/chronyd.initd
blob: 0b50a5a6d888fda2c06a65d004baf2c7c6caf0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

command="/usr/bin/chronyd"
command_args="${CHRONY_ARGS}"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--background --make-pidfile"

depend() {
    need net
	use logger dns
}

stop_pre() {
        pkill -u chrony
}