@le-space/rootfs 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ AUTOTLS_CADDY_READY_FILE="${AUTOTLS_CADDY_READY_FILE:-/etc/default/uc-go-peer.ca
|
|
|
10
10
|
SERVICE_NAME="${SERVICE_NAME:-uc-go-peer.service}"
|
|
11
11
|
AUTOTLS_REFRESH_SERVICE="${AUTOTLS_REFRESH_SERVICE:-uc-go-peer-autotls-refresh.service}"
|
|
12
12
|
BOOTSTRAP_REFRESH_TIMER="${BOOTSTRAP_REFRESH_TIMER:-uc-go-peer-bootstrap-refresh.timer}"
|
|
13
|
+
BOOTSTRAP_REFRESH_SERVICE="${BOOTSTRAP_REFRESH_SERVICE:-uc-go-peer-bootstrap-refresh.service}"
|
|
13
14
|
CADDY_SERVICE="${CADDY_SERVICE:-caddy.service}"
|
|
14
15
|
CADDYFILE="${CADDYFILE:-/etc/caddy/Caddyfile}"
|
|
15
16
|
BOOTSTRAP_SERVICE="${BOOTSTRAP_SERVICE:-uc-go-peer-bootstrap.service}"
|
|
@@ -261,6 +262,7 @@ if [ "${START_SERVICE}" -eq 1 ]; then
|
|
|
261
262
|
systemctl enable "${AUTOTLS_REFRESH_SERVICE}"
|
|
262
263
|
systemctl enable "${BOOTSTRAP_REFRESH_TIMER}"
|
|
263
264
|
systemctl start "${BOOTSTRAP_REFRESH_TIMER}"
|
|
265
|
+
systemctl restart --no-block "${BOOTSTRAP_REFRESH_SERVICE}" || true
|
|
264
266
|
if [ -n "${PROXY_HOSTNAME}" ]; then
|
|
265
267
|
systemctl enable "${CADDY_SERVICE}"
|
|
266
268
|
systemctl restart "${CADDY_SERVICE}"
|