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>pull/2887/head^2
parent
decc4fd05e
commit
2e2096023c
|
@ -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