mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Fix unit Type and User
This commit is contained in:
parent
2d33783907
commit
71e8ecf4d8
2 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,7 @@ Description=Shortened URLs service job queue
|
||||||
Documentation=https://framagit.org/luc/lstu
|
Documentation=https://framagit.org/luc/lstu
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=forking
|
||||||
User=www-data
|
User=www-data
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
ExecStart=/usr/local/bin/carton exec script/application minion worker
|
ExecStart=/usr/local/bin/carton exec script/application minion worker
|
||||||
|
|
|
@ -5,9 +5,8 @@ Requires=network.target
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=forking
|
||||||
User=www-data
|
User=www-data
|
||||||
RemainAfterExit=yes
|
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
|
|
Loading…
Reference in a new issue