Skip to content
Snippets Groups Projects
Commit b84331c3 authored by Julian Rother's avatar Julian Rother
Browse files

Debian: Add SystemD template units for UNIX socket instances

parent 1b1a17fa
No related branches found
No related tags found
No related merge requests found
Pipeline #14572 passed
[Unit]
Description=Proxy server to provide uffd user and group data via LDAP
After=network.target
BindsTo=uffd-ldapd@%I.socket
[Service]
ExecStart=/usr/sbin/uffd-ldapd --socket-fd 3
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=uffd-ldapd
DynamicUser=true
PrivateUsers=true
CapabilityBoundingSet=
NoNewPrivileges=true
RemoveIPC=true
LockPersonality=true
ProtectControlGroups=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectClock=true
ProtectHostname=true
ProtectProc=noaccess
RestrictRealtime=true
RestrictSUIDSGID=true
RestrictNamespaces=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
SystemCallArchitectures=native
SystemCallFilter=@system-service
EnvironmentFile=/etc/uffd-ldapd-%I.conf
[Install]
WantedBy=default.target
[Unit]
Description=Proxy server to provide uffd user and group data via LDAP
[Socket]
ListenStream=/var/run/uffd-ldapd-%I.sock
[Install]
WantedBy=sockets.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment