Use realpath and sudo in systemctl enable command

This commit is contained in:
2026-05-17 21:25:54 +00:00
parent 410b9a07dc
commit 576edd2d22

View File

@@ -79,7 +79,7 @@ POST /api/render-markdown body: { text, mode? } → { html }
1. Fill in `WorkingDirectory` with the path to the deployed app
2. Create a dedicated user: `useradd -r task-inventory`
3. `systemctl enable --now /path/to/deployment/task-inventory.service`
3. `sudo systemctl enable --now "$(realpath deployment/task-inventory.service)"`
Packaging (Arch, Debian, etc.) is not set up yet.