2022-10-12 05:17:04 +02:00
|
|
|
# You should not need to edit this file. Instead, use a drop-in file by running:
|
2023-01-25 00:45:55 +01:00
|
|
|
# systemctl edit kanidmd.service
|
2022-10-12 05:17:04 +02:00
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Kanidm, the IDM for rustaceans
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2024-07-15 12:48:17 +02:00
|
|
|
Type=notify
|
2022-10-12 05:17:04 +02:00
|
|
|
|
|
|
|
ExecStart=/usr/local/sbin/kanidmd server --config=/etc/kanidm/server.toml
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=15s
|
|
|
|
WorkingDirectory=/var/lib/kanidm
|
|
|
|
DynamicUser=yes
|
|
|
|
StateDirectory=kanidm
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|