mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
37 lines
895 B
Desktop File
37 lines
895 B
Desktop File
# You should not need to edit this file. Instead, use a drop-in file as described in:
|
|
# /usr/lib/systemd/system/kanidmd.service.d/custom.conf
|
|
|
|
[Unit]
|
|
Description=Kanidm Identity Server
|
|
After=time-sync.target network-online.target
|
|
Wants=time-sync.target network-online.target
|
|
Before=radiusd.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
DynamicUser=yes
|
|
StateDirectory=kanidm
|
|
StateDirectoryMode=0750
|
|
CacheDirectory=kanidmd
|
|
CacheDirectoryMode=0750
|
|
RuntimeDirectory=kanidmd
|
|
RuntimeDirectoryMode=0755
|
|
ExecStart=/usr/sbin/kanidmd server -c /etc/kanidm/server.toml
|
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
MemoryDenyWriteExecute=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|