From 9f8121bdd92bf45606cc9f6887c25e95b7c8b559 Mon Sep 17 00:00:00 2001 From: Harrison Pace Date: Sat, 17 Oct 2020 03:40:12 +1100 Subject: [PATCH] Document limitation of Systemd (WorkingDirectory) Update documentation expressing limitation of systemd, which prevents the system file as detailed from working without a change to the `WorkingDirectory`. Specifically the use of relative path names. --- docs/service.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/service.md b/docs/service.md index 7e21e6c..aa8283e 100644 --- a/docs/service.md +++ b/docs/service.md @@ -27,3 +27,6 @@ like this: ```systemd exec sudo -u root wetty -p 80 >> /var/log/wetty.log 2>&1 ``` + +Systemd requires an absolute path for a unit's WorkingDirectory, consquently `$HOME` +will need updating to an absolute path in the `wetty.service` file.