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]
|
||||
User=root
|
||||
Type=simple
|
||||
Type=notify
|
||||
ExecStart=/usr/local/sbin/kanidm_unixd_tasks
|
||||
|
||||
ReadWritePaths=/home /var/run/kanidm-unixd
|
||||
|
|
|
@ -7,7 +7,7 @@ After=chronyd.service ntpd.service network-online.target
|
|||
|
||||
[Service]
|
||||
DynamicUser=yes
|
||||
Type=simple
|
||||
Type=notify
|
||||
ExecStart=/usr/local/sbin/kanidm_unixd
|
||||
|
||||
CacheDirectory=kanidm-unixd
|
||||
|
|
|
@ -7,7 +7,7 @@ After=network-online.target
|
|||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Type=notify
|
||||
|
||||
ExecStart=/usr/local/sbin/kanidmd server --config=/etc/kanidm/server.toml
|
||||
Restart=on-failure
|
||||
|
|
|
@ -7,7 +7,7 @@ After=chronyd.service ntpd.service network-online.target kanidm-unixd.service
|
|||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Type=notify
|
||||
ExecStart=/usr/sbin/kanidm_unixd_tasks
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
Type=simple
|
||||
Type=notify
|
||||
ExecStart=/usr/sbin/kanidm_unixd
|
||||
# auth going down is bad, but infinite speedlooping is worse
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in a new issue