[ADD] install daemon systemd configuration: WorkingDirectory configuration
This commit is contained in:
parent
50ab5e1afa
commit
9cafb3cead
1 changed files with 3 additions and 2 deletions
|
|
@ -30,8 +30,9 @@ User=${EL_USER}
|
||||||
Group=${EL_USER}
|
Group=${EL_USER}
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
PIDFile=${EL_HOME_ERPLIBRE}/.venv/service.pid
|
PIDFile=${EL_HOME_ERPLIBRE}/.venv.erplibre/service.pid
|
||||||
ExecStart=${EL_HOME_ERPLIBRE}/.venv/run.sh
|
ExecStart=${EL_HOME_ERPLIBRE}/run.sh
|
||||||
|
WorkingDirectory=${EL_HOME_ERPLIBRE}
|
||||||
StandardOutput=journal+console
|
StandardOutput=journal+console
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue