summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG8
-rw-r--r--debug-me.service2
2 files changed, 9 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 34dbbcd..d87ca68 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,11 @@
+debug-me (1.20190927) UNRELEASED; urgency=medium
+
+ * debug-me.service: Remove /etc from InaccessiblePaths,
+ as that prevents the server sending email using eg postfix,
+ which needs to read its config files.
+
+ -- Joey Hess <id@joeyh.name> Thu, 20 Aug 2020 13:15:22 -0400
+
debug-me (1.20190926) unstable; urgency=medium
* Avoid a crash when run without a controlling tty, which may happen
diff --git a/debug-me.service b/debug-me.service
index 7b184c8..4b7c27a 100644
--- a/debug-me.service
+++ b/debug-me.service
@@ -6,7 +6,7 @@ Documentation=https://debug-me.branchable.com/
Environment='DAEMON_PARAMS=--server /var/log/debug-me/ --delete-old-logs'
EnvironmentFile=-/etc/default/debug-me
ExecStart=/usr/bin/debug-me $DAEMON_PARAMS
-InaccessiblePaths=/home /etc
+InaccessiblePaths=/home
ReadWritePaths=/var/log/debug-me
User=debug-me
Group=debug-me