blob: d1885315e6d60525d63c55107eb5ffdc767ed15a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Caddy service for concrnt webui
Conflicts=concrnt-webui-nginx.service
[Service]
Type=notify
Restart=on-abnormal
User=concrnt
Group=concrnt
ExecStartPre=/usr/bin/caddy validate --config /etc/concrnt/config/webui/Caddyfile
ExecStart=/usr/bin/caddy run --environ --config /etc/concrnt/config/webui/Caddyfile
ExecReload=/usr/bin/caddy reload --config /etc/concrnt/config/webui/Caddyfile --force
SyslogIdentifier=concrnt-webui-caddy
[Install]
WantedBy=multi-user.target
|