diff options
author | John Estabrook <jestabro@vyos.io> | 2020-08-28 15:49:55 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-08-31 09:57:00 -0500 |
commit | 88985dad133d5e85aca559dbfce53207a2292e0a (patch) | |
tree | cdb4749a3f9b0014d7a988101e57695ddd04d983 /src/systemd/vyos-configd.service | |
parent | bd076f694a763991a0b0d3a7bb0fa5d194d56d7c (diff) | |
download | vyos-1x-88985dad133d5e85aca559dbfce53207a2292e0a.tar.gz vyos-1x-88985dad133d5e85aca559dbfce53207a2292e0a.zip |
configd: T2582: add config daemon and supporting files
Diffstat (limited to 'src/systemd/vyos-configd.service')
-rw-r--r-- | src/systemd/vyos-configd.service | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/systemd/vyos-configd.service b/src/systemd/vyos-configd.service new file mode 100644 index 000000000..274ccc787 --- /dev/null +++ b/src/systemd/vyos-configd.service @@ -0,0 +1,27 @@ +[Unit] +Description=VyOS configuration 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-configd +Type=idle + +SyslogIdentifier=vyos-configd +SyslogFacility=daemon + +Restart=on-failure + +# Does't work in Jessie but leave it here +User=root +Group=vyattacfg + +[Install] +WantedBy=vyos.target |