diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 14:53:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 14:53:52 +0000 |
commit | 3ed143456d4270196c89e8e7e57badd439b44df4 (patch) | |
tree | fb241ff60337a450c34bfa02210a10fe0ddc9073 /debian/kea-ctrl-agent.service | |
parent | Adding upstream version 2.5.7. (diff) | |
download | isc-kea-3ed143456d4270196c89e8e7e57badd439b44df4.tar.xz isc-kea-3ed143456d4270196c89e8e7e57badd439b44df4.zip |
Adding debian version 2.4.1-3.debian/2.4.1-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/kea-ctrl-agent.service')
-rw-r--r-- | debian/kea-ctrl-agent.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/kea-ctrl-agent.service b/debian/kea-ctrl-agent.service new file mode 100644 index 0000000..52e11ad --- /dev/null +++ b/debian/kea-ctrl-agent.service @@ -0,0 +1,22 @@ +[Unit] +Description=Kea Control Agent +Documentation=man:kea-ctrl-agent(8) +After=network-online.target time-sync.target +ConditionFileNotEmpty=/etc/kea/kea-api-password + +[Service] +User=_kea +Environment="KEA_LOCKFILE_DIR=/run/lock/kea" +ConfigurationDirectory=kea +RuntimeDirectory=kea lock/kea +RuntimeDirectoryPreserve=yes +LogsDirectory=kea +LogsDirectoryMode=0750 +StateDirectory=kea +ExecStart=/usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +Restart=on-failure + +[Install] +WantedBy=multi-user.target |