[Git][NTPsec/ntpsec][master] systemd and rc: Use -N for high priority

Eric S. Raymond gitlab at mg.gitlab.com
Sun Nov 26 15:42:55 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
df7b2e78 by Richard Laager at 2017-11-26T15:42:13+00:00
systemd and rc: Use -N for high priority

Use -N to raise the priority of ntpd.

- - - - -


2 changed files:

- etc/ntpd.service
- etc/rc/ntpd


Changes:

=====================================
etc/ntpd.service
=====================================
--- a/etc/ntpd.service
+++ b/etc/ntpd.service
@@ -10,7 +10,7 @@ Conflicts=systemd-timesyncd.service
 [Service]
 Type=forking
 PrivateTmp=true
-ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+ExecStart=/usr/bin/ntpd -g -N -u ntp:ntp
 Restart=always
 
 [Install]


=====================================
etc/rc/ntpd
=====================================
--- a/etc/rc/ntpd
+++ b/etc/rc/ntpd
@@ -13,7 +13,7 @@ NTPD=/usr/sbin/ntpd
 PIDFILE=/var/run/ntpd.pid
 USER=ntp
 GROUP=ntp
-NTPD_OPTS="-g -u $USER:$GROUP -p $PIDFILE"
+NTPD_OPTS="-g -N -u $USER:$GROUP -p $PIDFILE"
 
 ntpd_start() {
     if [ -r $PIDFILE ]; then



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/df7b2e78e47ef46f1bc05ddf2b99f519f5074c0f

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/df7b2e78e47ef46f1bc05ddf2b99f519f5074c0f
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171126/fc62d256/attachment.html>


More information about the vc mailing list