Fix systemd service and updated README

This commit is contained in:
2023-09-30 16:25:44 +02:00
parent 269f2e2dbe
commit 5dff6a6653
2 changed files with 7 additions and 4 deletions

View File

@@ -22,8 +22,11 @@ Replace `PORT` by the value you want to expose your app
### Systemd service
The repository contain a start.sh file to place in `/opt/launcher_json` folder, then place the launcher_json.service in `/etc/systemd/system` folder
and activate it using: `
The repository contain a systemd service file launcher_json.service to place in `/etc/systemd/system` folder, then create the `launcher` user:
`adduser launcher --disabled-password --disabled-login --no-create-home` and `usermod -a -G docker launcher`
Then activate the service using:
`systemctl enable --now launcher_json`