From 270c6cb969320b80c9000c4d3d44db07abdd0a82 Mon Sep 17 00:00:00 2001 From: ppom Date: Thu, 12 Feb 2026 12:00:00 +0100 Subject: [PATCH] systemd service: config file must live in /etc/reaction/ This is a breaking change, but it unifies config for yaml, json, jsonnet and directory users. --- config/reaction.service | 2 +- packaging/{reaction@.service => reaction.service} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename packaging/{reaction@.service => reaction.service} (92%) diff --git a/config/reaction.service b/config/reaction.service index 9265118..0e72a1c 100644 --- a/config/reaction.service +++ b/config/reaction.service @@ -7,7 +7,7 @@ Documentation=https://reaction.ppom.me # See `man systemd.exec` and `man systemd.service` for most options below [Service] -ExecStart=/usr/local/bin/reaction start -c /etc/reaction.jsonnet +ExecStart=/usr/local/bin/reaction start -c /etc/reaction/ # Ask systemd to create /var/lib/reaction (/var/lib/ is implicit) StateDirectory=reaction diff --git a/packaging/reaction@.service b/packaging/reaction.service similarity index 92% rename from packaging/reaction@.service rename to packaging/reaction.service index 729b95b..3003b85 100644 --- a/packaging/reaction@.service +++ b/packaging/reaction.service @@ -7,7 +7,7 @@ Documentation=https://reaction.ppom.me # See `man systemd.exec` and `man systemd.service` for most options below [Service] -ExecStart=/usr/bin/reaction start -c /etc/%i +ExecStart=/usr/bin/reaction start -c /etc/reaction/ # Ask systemd to create /var/lib/reaction (/var/lib/ is implicit) StateDirectory=reaction