Generate services with Quadlet after CoreOS update
This is to work around issues where generators don't seem to run on `daemon-reload` as they should, and may be reverted some time in the future.
This commit is contained in:
parent
9e690a54f0
commit
8daef2903a
|
@ -92,6 +92,8 @@ function main() {
|
|||
# Synchronize systemd services from local CoreOS home-server configuration.
|
||||
printf "Synchronizing systemd service files... "
|
||||
if sync-systemd-services; then
|
||||
printf "Generating systemd services with Quadlet...\n"
|
||||
/usr/lib/systemd/system-generators/podman-system-generator "$SYSTEMD_CONFIG_PATH"
|
||||
printf "Reloading systemd daemon after service updates...\n"
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue