Commit graph

12 commits

Author SHA1 Message Date
psykose
1449956c09 main/chrony: modernise init.d
- checkconfig only checked for a required_file and did nothing else
- vrf= support is in openrc itself
- set rundir to /run/chrony instead of /var/run (symlink)
- use default declarative functions
2023-05-08 06:15:13 +02:00
Henrik Riomar
77984a6608 main/chrony: fix vrf support
chronyd init.d overrides start(), due to this the built in vrf support
in openrc does not work. Due to this chronyd init.d must handle the
vrf support.
2020-11-13 08:02:14 +00:00
tcely
6847ea68e5 main/chrony: step closer to openrc documentation 2019-04-17 10:59:31 +02:00
tcely
b2ec731f63 main/chrony: set default PID file path 2019-04-17 10:59:31 +02:00
Sören Tempel
a1a3fd0238 main/chrony: update PIDFILE location
The default pidfile location changed with chrony 3.4 [0] but wasn't
changed in the OpenRC service. Therefore OpenRC was no longer able to
detect the status of the chronyd service.

Fixes 
Fixes 

[0]: https://git.tuxfamily.org/chrony/chrony.git/commit/?h=3.4&id=e50dc739d88feca6e0da034406034f3d3cf60ca4
2018-12-26 17:20:31 +01:00
Sören Tempel
f404cbdcff main/chrony: add FAST_STARTUP option to OpenRC services
chronyd takes quite some time to perform a double fork to deamonize,
thereby blocking OpenRC. This is probably the case because it blocks
until time is synchronized.

When enabled the FAST_STARTUP option performs the double fork through
start-stop-daemon(1) thereby significantly reducing the startup of the
chronyd service.
2018-10-15 09:37:33 +02:00
Daniele Coli
945678e669 main/chrony: Added description to init.d script
Added description to init.d script in order to make it compliant
with rc-system and avoid annoying warning messages on syslog.
2015-10-27 12:05:49 +00:00
Natanael Copa
6bf81f56e8 main/*: replace all sbin/runscript with sbin/openrc-run 2015-04-28 14:34:51 +00:00
Duane Hughes
1f853d411d main/chrony: updated with latest initd and confd from gentoo
fixes 
2011-04-28 09:16:39 +00:00
Natanael Copa
580b1e991f main/chrony: provide ntp-client and ntp-server
fixes 
2010-02-08 13:10:53 +00:00
Natanael Copa
c091eef67f main/chrony,clamav,clamsmtp,conntrack,cyrus-sasl: start services after fw 2009-09-15 13:16:08 +00:00
Natanael Copa
b70981b68e moved extra/* to main/
and fixed misc build issues
2009-07-24 08:01:31 +00:00
Renamed from extra/chrony/chronyd.initd (Browse further)