mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
ntp: make daemon run under ntp:ntp
Fix the service so that the ntpd daemon is run under ntp:ntp. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Acked-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -5,7 +5,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/ntpd.pid
|
PIDFile=/run/ntpd.pid
|
||||||
ExecStart=/usr/sbin/ntpd -p /run/ntpd.pid -g
|
ExecStart=/usr/sbin/ntpd -u ntp:ntp -p /run/ntpd.pid -g
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user