diff options
author | Marc Straube | 2021-04-13 18:38:05 +0200 |
---|---|---|
committer | Marc Straube | 2021-04-13 18:38:05 +0200 |
commit | 0ce9f3c3edd7577b8f6dda28639f96401a1f41a8 (patch) | |
tree | 0bcedb774b17c7b12186840af503a05028b7e0fa /mercure.service | |
parent | e0042fb54238e842822a83b4e5d11fa3791e6988 (diff) | |
download | aur-0ce9f3c3edd7577b8f6dda28639f96401a1f41a8.tar.gz |
Fix build of package. Fix systemd service for the new mercure version.
Diffstat (limited to 'mercure.service')
-rw-r--r-- | mercure.service | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mercure.service b/mercure.service index eb9854d55235..1f9712cb6175 100644 --- a/mercure.service +++ b/mercure.service @@ -3,7 +3,10 @@ Description=Mercure - Server-sent live updates After=network.target [Service] -ExecStart=/usr/bin/mercure start +Environment=XDG_DATA_HOME=/var/lib/mercure +Environment=XDG_CONFIG_HOME=/var/lib/mercure +ExecStart=/usr/bin/mercure run -config /etc/mercure/Caddyfile +ExecReload=/usr/bin/mercure reload -config /etc/mercure/Caddyfile User=mercure Group=mercure RuntimeDirectory=mercure |