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
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Type=forking
|
||||
User=www-data
|
||||
WorkingDirectory=__FINALPATH__
|
||||
ExecStart=/usr/local/bin/carton exec script/application minion worker
|
||||
|
|
|
@ -5,9 +5,8 @@ Requires=network.target
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Type=forking
|
||||
User=www-data
|
||||
RemainAfterExit=yes
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
WorkingDirectory=__FINALPATH__
|
||||
|
|
Loading…
Reference in a new issue