mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Update fittrackee_workers.service
This commit is contained in:
parent
031b2a82d5
commit
db28a4ac88
1 changed files with 3 additions and 4 deletions
|
@ -12,12 +12,11 @@ Restart=always
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
|
StandardOutput=syslog
|
||||||
|
StandardError=syslog
|
||||||
SyslogIdentifier=__APP___workers
|
SyslogIdentifier=__APP___workers
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
|
||||||
EnvironmentFile=/etc/systemd/system/__APP___workers.service.d/variables.conf
|
EnvironmentFile=/etc/systemd/system/__APP___workers.service.d/variables.conf
|
||||||
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2
|
ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue