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

Merge pull request #232 from YunoHost-Apps/testing

Fix service
This commit is contained in:
yalh76 2021-05-06 19:43:42 +02:00 committed by GitHub
commit 9f16e0270b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 5 deletions

View file

@ -26,6 +26,8 @@
upgrade=1 from_commit=5a74f4033eafa657fcd32a9713cd77ba0f4f79c9 upgrade=1 from_commit=5a74f4033eafa657fcd32a9713cd77ba0f4f79c9
# 3.1.0~ynh2 # 3.1.0~ynh2
upgrade=1 from_commit=1be4caaaf2787e614cd315ca8564573d4268032a upgrade=1 from_commit=1be4caaaf2787e614cd315ca8564573d4268032a
# 3.1.0~ynh5
upgrade=1 from_commit=343f2b80e0f3bddc87ad8ed143411a0920c21150
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=0
port_already_use=0 port_already_use=0
@ -48,4 +50,6 @@ Notification=yes
name=3.0.1~ynh1 name=3.0.1~ynh1
; commit=1be4caaaf2787e614cd315ca8564573d4268032a ; commit=1be4caaaf2787e614cd315ca8564573d4268032a
name=3.1.0~ynh2 name=3.1.0~ynh2
; commit=343f2b80e0f3bddc87ad8ed143411a0920c21150
name=3.1.0~ynh5

View file

@ -8,8 +8,7 @@ Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=__FINALPATH__/config Environment=NODE_CONFIG_DIR=__FINALPATH__/config
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
Environment="__YNH_NODE_LOAD_PATH__" ExecStart=__YNH_NODE__ __FINALPATH__/dist/server
ExecStart=/bin/sh -c ' npm start'
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog

View file

@ -6,7 +6,7 @@
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network", "en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé" "fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
}, },
"version": "3.1.0~ynh5", "version": "3.1.0~ynh6",
"url": "https://github.com/Chocobozzz/PeerTube", "url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": [ "maintainer": [

View file

@ -187,7 +187,7 @@ chown $app:$app "$final_path/config/local-production.json"
ynh_script_progression --message="Configuring a systemd service..." ynh_script_progression --message="Configuring a systemd service..."
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config --others_var="ynh_node_load_PATH" ynh_add_systemd_config --others_var="ynh_node ynh_node_load_PATH"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -258,7 +258,7 @@ popd
ynh_script_progression --message="Upgrading systemd configuration..." ynh_script_progression --message="Upgrading systemd configuration..."
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config --others_var="ynh_node_load_PATH" ynh_add_systemd_config --others_var="ynh_node ynh_node_load_PATH"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION