run systemd unit as authelia user
parent
f62b4d4cd3
commit
a689e3037f
|
@ -3,6 +3,8 @@ Description=Authelia authentication and authorization server
|
||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
User=authelia
|
||||||
|
Group=authelia
|
||||||
Environment=AUTHELIA_SERVER_DISABLE_HEALTHCHECK=true
|
Environment=AUTHELIA_SERVER_DISABLE_HEALTHCHECK=true
|
||||||
ExecStart=/usr/bin/authelia --config /etc/authelia/configuration.yml
|
ExecStart=/usr/bin/authelia --config /etc/authelia/configuration.yml
|
||||||
SyslogIdentifier=authelia
|
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
|
After=multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
User=authelia
|
||||||
|
Group=authelia
|
||||||
Environment=AUTHELIA_SERVER_DISABLE_HEALTHCHECK=true
|
Environment=AUTHELIA_SERVER_DISABLE_HEALTHCHECK=true
|
||||||
ExecStart=/usr/bin/authelia --config /etc/authelia/%i.yml
|
ExecStart=/usr/bin/authelia --config /etc/authelia/%i.yml
|
||||||
SyslogIdentifier=authelia-%i
|
SyslogIdentifier=authelia-%i
|
||||||
|
|
Loading…
Reference in New Issue