mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
build: add system service file to support multi setup (#2873)
* using the '@' in a service file allows multiple instances this enables system to load authelia with multiple configuration files Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
This commit is contained in:
parent
decc4fd05e
commit
2e2096023c
10
authelia@.service
Normal file
10
authelia@.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Authelia authentication and authorization server
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/authelia --config /etc/authelia/%i.yml
|
||||||
|
SyslogIdentifier=authelia-%i
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user