diff options
author | John Estabrook <jestabro@vyos.io> | 2025-03-16 21:09:12 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2025-03-16 23:55:12 -0500 |
commit | 21d960b34da2cd8b98be1ff59c416e434c31b1e1 (patch) | |
tree | f0382a18fec209d4e4e8c88c454095ebca28c55c /src/systemd | |
parent | b3427a6aa693728b69b32430a521c8cc9cc5c015 (diff) | |
download | vyos-1x-21d960b34da2cd8b98be1ff59c416e434c31b1e1.tar.gz vyos-1x-21d960b34da2cd8b98be1ff59c416e434c31b1e1.zip |
T7121: add vyos-commitd service as emergent replacement for vyos-configd
vyos-commitd exchanges messages with vyconfd, to replace the shim
redirection of legacy commands to vyos-configd.
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/vyos-commitd.service | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/systemd/vyos-commitd.service b/src/systemd/vyos-commitd.service new file mode 100644 index 000000000..5b083f500 --- /dev/null +++ b/src/systemd/vyos-commitd.service @@ -0,0 +1,27 @@ +[Unit] +Description=VyOS commit daemon + +# Without this option, lots of default dependencies are added, +# among them network.target, which creates a dependency cycle +DefaultDependencies=no + +# Seemingly sensible way to say "as early as the system is ready" +# All vyos-configd needs is read/write mounted root +After=systemd-remount-fs.service +Before=vyos-router.service + +[Service] +ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-commitd +Type=idle + +SyslogIdentifier=vyos-commitd +SyslogFacility=daemon + +Restart=on-failure + +# Does't work in Jessie but leave it here +User=root +Group=vyattacfg + +[Install] +WantedBy=vyos.target |