run systemd unit as authelia user
parent
f62b4d4cd3
commit
a689e3037f
|
@ -3,6 +3,8 @@ Description=Authelia authentication and authorization server
|
|||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=authelia
|
||||
Group=authelia
|
||||
Environment=AUTHELIA_SERVER_DISABLE_HEALTHCHECK=true
|
||||
ExecStart=/usr/bin/authelia --config /etc/authelia/configuration.yml
|
||||
SyslogIdentifier=authelia
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#Type Name ID GECOS Home directory Shell
|
||||
u authelia - "authelia user"
|
||||
m authelia redis
|
|
@ -0,0 +1 @@
|
|||
e /etc/authelia 0700 authelia authelia
|
|
@ -3,6 +3,8 @@ Description=Authelia authentication and authorization server
|
|||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=authelia
|
||||
Group=authelia
|
||||
Environment=AUTHELIA_SERVER_DISABLE_HEALTHCHECK=true
|
||||
ExecStart=/usr/bin/authelia --config /etc/authelia/%i.yml
|
||||
SyslogIdentifier=authelia-%i
|
||||
|
|
Loading…
Reference in New Issue