add systemd service example files

main
Jörg Thalheim 2 years ago
parent 7c36193a14
commit 6dd1f41212
No known key found for this signature in database

@ -0,0 +1,21 @@
[Unit]
Description=systemd-vault daemon
Requires=systemd-vaultd.socket
[Service]
ExecStart=/usr/bin/systemd-vaultd
Restart=yes
ProtectSystem=strict
ProtectHome=yes
PrivateDevices=yes
PrivateNetwork=yes
PrivateUsers=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX
MemoryDenyWriteExecute=yes
SystemCallFilter=@default @file-system @basic-io @system-service @signal @io-event @network-io
[Install]
Also=systemd-vaultd.socket

@ -0,0 +1,8 @@
[Unit]
Description=systemd-vault activation socket
[Socket]
ListenStream=/run/systemd-vaultd/sock
[Install]
WantedBy=sockets.target
Loading…
Cancel
Save