Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33090 - ntpdate.service

Attached to Project: Arch Linux
Opened by David '-1' Schmid (gdkags) - Thursday, 13 December 2012, 22:54 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 14 December 2012, 12:01 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
replacemant for /etc/rc.d/ntpdate because systemd is standard now.


Steps to reproduce:
Place this file in package so it is usable with systemd

I don't know if I did this right, I am relatively new to systemd.

#/usr/lib/systemd/system/ntpdate.service
Description=Set time on boot, then exit
Requires=network.target
After=network.target

[Service]
Type=oneshot
ExecStart=/usr/bin/ntpd -q -g -u ntp

[Install]
WantedBy=multi-user.target
This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 14 December 2012, 12:01 GMT
Reason for closing:  Implemented
Additional comments about closing:  ntp-4.2.6.p5-12 in [extra]
Comment by David '-1' Schmid (gdkags) - Thursday, 13 December 2012, 22:57 GMT
also, maybe throw out rc.d files? I thought sysvinit is deprecated o_0
Comment by Gaetan Bisson (vesath) - Friday, 14 December 2012, 03:16 GMT
Could you test ntp-4.2.6.p5-12 from [testing] and let me know if the included ntpdate.service fits your needs?

Although initscripts is deprecated, I will be leaving the ntpd/ntpdate/ntp.conf files in the package for a little longer (or until they require maintenance).
Comment by David '-1' Schmid (gdkags) - Friday, 14 December 2012, 10:44 GMT
Works for me. Thank you!

Loading...