Start rearranging dependencies to avoid spurious UI restarts (!)

This commit is contained in:
Tony Garnock-Jones 2022-02-07 21:11:07 +01:00
parent fa530addf4
commit d6c1ba4302
4 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
<require-service <config-watcher "/run/etc/syndicate/services" $.>>
<require-service <config-watcher "/usr/local/etc/syndicate/services" $.>>

View File

@ -0,0 +1,3 @@
<require-service <daemon ntpd>>
<depends-on <daemon ntpd> <default-route ipv4>>
<daemon ntpd "ntpd -d -n -p pool.ntp.org">

View File

@ -22,6 +22,8 @@ mount -o rw,remount /
mkdir -p /run/etc/syndicate/core
mkdir -p /usr/local/etc/syndicate/core
mkdir -p /run/etc/syndicate/services
mkdir -p /usr/local/etc/syndicate/services
# This is a grody hack. We are replacing the infrastructure that sets up RNDIS, and in
# particular we no longer want to run the DHCP server that PostmarketOS runs by default on