[Git][NTPsec/ntpsec][master] systemd: ionice ntpviz

Eric S. Raymond gitlab at mg.gitlab.com
Sun Nov 26 15:49:04 UTC 2017


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


Commits:
14f75119 by Richard Laager at 2017-11-26T15:48:21+00:00
systemd: ionice ntpviz

ntpviz tries to use psutil to ionice itself.  Doing it here means it
works without needing psutil installed, saving a dependency (in the
systemd case).

- - - - -


2 changed files:

- etc/ntpviz-daily.service
- etc/ntpviz-weekly.service


Changes:

=====================================
etc/ntpviz-daily.service
=====================================
--- a/etc/ntpviz-daily.service
+++ b/etc/ntpviz-daily.service
@@ -5,4 +5,5 @@ Requisite=ntpd.service
 
 [Service]
 Type=simple
+IOSchedulingClass=idle
 ExecStart=/usr/bin/ntpviz -w l -p 1 -o /var/www/localhost/htdocs/day


=====================================
etc/ntpviz-weekly.service
=====================================
--- a/etc/ntpviz-weekly.service
+++ b/etc/ntpviz-weekly.service
@@ -5,4 +5,5 @@ Requisite=ntpd.service
 
 [Service]
 Type=simple
+IOSchedulingClass=idle
 ExecStart=/usr/bin/ntpviz -w l -p 7 -o /var/www/localhost/htdocs/week



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

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/14f75119f910b31b2c496595131f3916316d38dd
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/3919161b/attachment.html>


More information about the vc mailing list