1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Merge pull request #43 from autra/fix_service

Fix unit Type and User
This commit is contained in:
Alexandre Aubin 2020-11-16 16:23:44 +01:00 committed by GitHub
commit 0e8148bf7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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__