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

Merge pull request #48 from autra/fix_service

Fix unit type to forking
This commit is contained in:
Maniack Crudelis 2020-05-22 11:10:08 +02:00 committed by GitHub
commit ec8858ed0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,10 +3,9 @@ Description=Image hosting and sharing service
After=network.target After=network.target
[Service] [Service]
Type=simple Type=forking
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
RemainAfterExit=yes
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
PIDFile=__FINALPATH__/script/hypnotoad.pid PIDFile=__FINALPATH__/script/hypnotoad.pid
ExecStart=/usr/bin/carton exec hypnotoad script/lutim >> /var/log/lutim/production.log 2>&1 ExecStart=/usr/bin/carton exec hypnotoad script/lutim >> /var/log/lutim/production.log 2>&1