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:
parent
7e0d4a6ea8
commit
f8038b1540
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@ Description=Kiwix: Sharing Web content
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
ExecStart=__INSTALL_DIR__/kiwix-serve --daemon --address 127.0.0.1 --port __PORT__ --library __DATA_DIR__/library.xml --urlRootLocation=__PATH__/
|
ExecStart=__INSTALL_DIR__/kiwix-serve --address 127.0.0.1 --port __PORT__ --library __DATA_DIR__/library.xml --urlRootLocation=__PATH__/
|
||||||
RemainAfterExit=yes
|
|
||||||
Restart=on-abort
|
Restart=on-abort
|
||||||
RestartSec=5s
|
RestartSec=5s
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue