mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Updating service type per kanidm/kanidm#2892 (#2898)
Co-authored-by: Firstyear <william@blackhats.net.au>
This commit is contained in:
parent
eddec88429
commit
678937d955
|
@ -7,7 +7,7 @@ After=chronyd.service ntpd.service network-online.target kanidm-unixd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Type=simple
|
Type=notify
|
||||||
ExecStart=/usr/local/sbin/kanidm_unixd_tasks
|
ExecStart=/usr/local/sbin/kanidm_unixd_tasks
|
||||||
|
|
||||||
ReadWritePaths=/home /var/run/kanidm-unixd
|
ReadWritePaths=/home /var/run/kanidm-unixd
|
||||||
|
|
|
@ -7,7 +7,7 @@ After=chronyd.service ntpd.service network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
Type=simple
|
Type=notify
|
||||||
ExecStart=/usr/local/sbin/kanidm_unixd
|
ExecStart=/usr/local/sbin/kanidm_unixd
|
||||||
|
|
||||||
CacheDirectory=kanidm-unixd
|
CacheDirectory=kanidm-unixd
|
||||||
|
|
|
@ -7,7 +7,7 @@ After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=notify
|
||||||
|
|
||||||
ExecStart=/usr/local/sbin/kanidmd server --config=/etc/kanidm/server.toml
|
ExecStart=/usr/local/sbin/kanidmd server --config=/etc/kanidm/server.toml
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
|
@ -7,7 +7,7 @@ After=chronyd.service ntpd.service network-online.target kanidm-unixd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Type=simple
|
Type=notify
|
||||||
ExecStart=/usr/sbin/kanidm_unixd_tasks
|
ExecStart=/usr/sbin/kanidm_unixd_tasks
|
||||||
|
|
||||||
# because kanidm-unixd might have failed for some reason but we need to try again later
|
# because kanidm-unixd might have failed for some reason but we need to try again later
|
||||||
|
|
|
@ -19,7 +19,7 @@ RuntimeDirectory=kanidm-unixd
|
||||||
StateDirectory=kanidm-unixd
|
StateDirectory=kanidm-unixd
|
||||||
|
|
||||||
|
|
||||||
Type=simple
|
Type=notify
|
||||||
ExecStart=/usr/sbin/kanidm_unixd
|
ExecStart=/usr/sbin/kanidm_unixd
|
||||||
# auth going down is bad, but infinite speedlooping is worse
|
# auth going down is bad, but infinite speedlooping is worse
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
Loading…
Reference in a new issue