Skip to main content
Topic: How to enable "openntpd-s6" (Read 341 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to enable "openntpd-s6"

echo Hello,

Since I have removed my computer battery I should update the date manualy at every starts :(.
I use s6 software to init.
I tried to install with pacman ntp-s6, then openntpd-s6 and nothing changed...

Should I enable openntpd-s6 after instlling? and how? I wounder to know...

Re: How to enable "openntpd-s6"

Reply #1
To start a service at boot, create a file with the service name in /etc/s6/adminsv/default/.
To start and stop a service, use s6-rc start <service> and s6-rc stop <service>.
In the case of OpenNTPd, the service name is openntpd. Pretty straight-forward.
Refer to the wiki: https://wiki.artixlinux.org/Main/S6#Updating_bundle_contents