1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kiwix_ynh.git synced 2024-09-03 19:35:56 +02:00

systemd: Fix daemonize option which leaves the service as "exited"

This commit is contained in:
Alexandre Aubin 2023-08-13 13:30:54 +02:00 committed by GitHub
parent 7e0d4a6ea8
commit f8038b1540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,8 +5,7 @@ Description=Kiwix: Sharing Web content
Type=simple
User=__APP__
Group=__APP__
ExecStart=__INSTALL_DIR__/kiwix-serve --daemon --address 127.0.0.1 --port __PORT__ --library __DATA_DIR__/library.xml --urlRootLocation=__PATH__/
RemainAfterExit=yes
ExecStart=__INSTALL_DIR__/kiwix-serve --address 127.0.0.1 --port __PORT__ --library __DATA_DIR__/library.xml --urlRootLocation=__PATH__/
Restart=on-abort
RestartSec=5s