1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/komga_ynh.git synced 2024-09-03 19:36:07 +02:00
This commit is contained in:
ericgaspar 2021-02-28 19:16:46 +01:00
parent 2a54d07178
commit 4fa9dc4021
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
[Unit]
Description=Komga: comics and mangas media server
Description=Komga server
After=network.target
[Service]
@ -7,7 +7,11 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=/usr/bin/java -jar __FINALPATH__/app.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__" >> /var/log/__APP__/__APP__.log 2>&1
ExecStart=/usr/bin/java -jar -Xmx4g app.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__/"
Restart=on-failure
RestartSec=10
StandardOutput=null
StandardError=syslog
[Install]
WantedBy=multi-user.target

View file

@ -63,7 +63,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --time --weight=1
ynh_script_progression --message="Installing dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies