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
Toshaan Bharvani 2022-03-01 22:52:49 +01:00 committed by GitHub
parent decc4fd05e
commit 2e2096023c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
authelia@.service 100644
View 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