bundles/oidentd: provide our own systemd unit file
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2022-04-03 08:32:07 +02:00
parent d99a784e3a
commit a340071ad8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 28 additions and 6 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=RFC 1413 compliant ident daemon
After=network.target
[Service]
ExecStart=/usr/sbin/oidentd -i -u oident -g oident
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target

View file

@ -5,6 +5,12 @@ files = {
'svc_systemd:oidentd:restart',
},
},
'/usr/local/lib/systemd/system/oidentd.service': {
'triggers': {
'action:systemd-reload',
'svc_systemd:oidentd:restart',
},
},
}
svc_systemd = {
@ -12,6 +18,7 @@ svc_systemd = {
'needs': {
'pkg_apt:oidentd',
'file:/etc/oidentd.conf',
'file:/usr/local/lib/systemd/system/oidentd.service',
},
},
}

View file

@ -1,10 +1,4 @@
directories = {
'/usr/local/lib/systemd/system': {
'purge': True,
'triggers': {
'action:systemd-reload',
},
},
'/var/lib/systemd-timer-monitored': {
'mode': '0777',
},

View file

@ -39,6 +39,15 @@ files = {
},
}
directories = {
'/usr/local/lib/systemd/system': {
'purge': True,
'triggers': {
'action:systemd-reload',
},
},
}
svc_systemd = {
'systemd-journald': {
'needs': {