Use ntp.service instead of ntpd.service to start NTP services on openSUSE

systemctl enable ntpd.service is not working on openSUSE 13.1:

---snip---
% sudo systemctl enable ntpd.service
Failed to issue method call: No such file or directory
---snap---

systemctl enable ntp.service is working on openSUSE 13.1:

---snip---
% sudo systemctl enable ntp.service
ntp.service is not a native service, redirecting to /sbin/chkconfig.
[...]
---snap---

Change-Id: I1979f08786bc1ea67c011415368bf57b35e11dd7
This commit is contained in:
Christian Berendt 2014-10-10 12:17:50 +02:00
parent 815f8b6618
commit 080e26fa61

View File

@ -61,8 +61,8 @@ restrict -6 default kod notrap nomodify</programlisting>
<screen os="sles"><prompt>#</prompt> <userinput>service ntp start</userinput>
<prompt>#</prompt> <userinput>chkconfig ntp on</userinput></screen>
<para os="opensuse">On openSUSE:</para>
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable ntpd.service</userinput>
<prompt>#</prompt> <userinput>systemctl start ntpd.service</userinput></screen>
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable ntp.service</userinput>
<prompt>#</prompt> <userinput>systemctl start ntp.service</userinput></screen>
</step>
</procedure>
</section>
@ -103,8 +103,8 @@ restrict -6 default kod notrap nomodify</programlisting>
<screen os="sles"><prompt>#</prompt> <userinput>service ntp start</userinput>
<prompt>#</prompt> <userinput>chkconfig ntp on</userinput></screen>
<para os="opensuse">On openSUSE:</para>
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable ntpd.service</userinput>
<prompt>#</prompt> <userinput>systemctl start ntpd.service</userinput></screen>
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable ntp.service</userinput>
<prompt>#</prompt> <userinput>systemctl start ntp.service</userinput></screen>
</step>
</procedure>
</section>