Updating service type per kanidm/kanidm#2892 (#2898)

Co-authored-by: Firstyear <william@blackhats.net.au>
This commit is contained in:
James Hodgkinson 2024-07-15 03:48:17 -07:00 committed by GitHub
parent eddec88429
commit 678937d955
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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