[oe] [meta-networking][PATCH] ntp: make daemon run under ntp:ntp

Joe MacDonald Joe_MacDonald at mentor.com
Tue Nov 4 20:10:56 UTC 2014


Merged, thanks.
-J.

[[oe] [meta-networking][PATCH] ntp: make daemon run under ntp:ntp] On 14.10.28 (Tue 11:27) Qi.Chen at windriver.com wrote:

> From: Chen Qi <Qi.Chen at windriver.com>
> 
> Fix the service so that the ntpd daemon is run under ntp:ntp.
> 
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  meta-networking/recipes-support/ntp/ntp/ntpd.service | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/ntp/ntp/ntpd.service b/meta-networking/recipes-support/ntp/ntp/ntpd.service
> index b7c4268..0e3d7cd 100644
> --- a/meta-networking/recipes-support/ntp/ntp/ntpd.service
> +++ b/meta-networking/recipes-support/ntp/ntp/ntpd.service
> @@ -5,7 +5,7 @@ After=network.target
>  [Service]
>  Type=forking
>  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]
>  WantedBy=multi-user.target
> -- 
> 1.9.1
> 
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141104/23078097/attachment-0002.sig>


More information about the Openembedded-devel mailing list