Use realpath and sudo in systemctl enable command
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user