Help with startup commands

As part of my NTP testing to start my currently jury rigged NTP server I need to issue the following commands

./storage/.opt/sbin/chronyd -f /storage/.opt/etc/chrony/chrony.conf
gpsd -Gn tcp://

But I am not sure how to either add them into an script or if I should add them as crontab entries, could anyone advise?


The easily would be to add into /storage/.config/ file

/opt/sbin/chronyd -f /opt/etc/chrony/chrony.conf
/opt/sbin/gpsd -Gn tcp://

But I think when you install chrony and gpsd both services should already start automatically? You can see both start scripts in /opt/etc/init.d. Maybe you just need to setup correctly.

1 Like

@vpeter Thanks, had a total blind spot trying to get that working. After a few tries and because the commands need to bring up chrony and then gpsd after all the networking is up and running the best solution was to kill the entries in /opt/etc/init.d and then run them from

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

About | FAQ | Terms of Service | Privacy Policy | Legal Notice