1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

Merge pull request #75 from YunoHost-Apps/testing

Fix Bookworm
This commit is contained in:
yalh76 2023-08-04 19:52:12 +02:00 committed by GitHub
commit 9c821d302c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 15 deletions

View file

@ -29,7 +29,7 @@ A networked place to store posted web documents. This is meant to allow for dist
- Excepteur sint occaecat cupidatat non proident, sunt in culpa."
**Shipped version:** 1.3.0~ynh10
**Shipped version:** 1.3.0~ynh11
**Demo:** https://distbin.com/

View file

@ -29,7 +29,7 @@ A networked place to store posted web documents. This is meant to allow for dist
- Excepteur sint occaecat cupidatat non proident, sunt in culpa."
**Version incluse :** 1.3.0~ynh10
**Version incluse :** 1.3.0~ynh11
**Démo :** https://distbin.com/

View file

@ -12,15 +12,15 @@
setup_public=1
upgrade=1
# 1.2.0~ynh3
upgrade=1 from_commit=b01da8e6f8d621a1b9c7aec4b82bbe96c0e7cc03
#upgrade=1 from_commit=b01da8e6f8d621a1b9c7aec4b82bbe96c0e7cc03
# 1.3.0~ynh4
upgrade=1 from_commit=0dda384e84bbe2513cb67cfd1eef15d667e50354
#upgrade=1 from_commit=0dda384e84bbe2513cb67cfd1eef15d667e50354
# 1.3.0~ynh5
upgrade=1 from_commit=f7bc083d037eb771afeddc2237a24505a5ef1c68
#upgrade=1 from_commit=f7bc083d037eb771afeddc2237a24505a5ef1c68
# 1.3.0~ynh6
upgrade=1 from_commit=cdec64125b179f6b19470ceb8379225ed03c10a8
#upgrade=1 from_commit=cdec64125b179f6b19470ceb8379225ed03c10a8
# 1.3.0~ynh7
upgrade=1 from_commit=481c0c5ce62caa9c79a6bd536f390f3814128b3a
#upgrade=1 from_commit=481c0c5ce62caa9c79a6bd536f390f3814128b3a
# 1.3.0~ynh8
upgrade=1 from_commit=e53a85de775501b13d8ef9c546d6b523c0a99e4f
backup_restore=1

View file

@ -6,7 +6,7 @@
"en": "Distributed pastebin with ActivityPub.",
"fr": "Pastebin distribué utilisant le protocole ActivityPub."
},
"version": "1.3.0~ynh10",
"version": "1.3.0~ynh11",
"url": "https://distbin.com",
"upstream": {
"license": "Apache-2.0",

View file

@ -5,7 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="ca-certificates curl sudo"
pkg_dependencies="ca-certificates curl sudo rsync"
NODEJS_VERSION=10

View file

@ -71,7 +71,7 @@ fi
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped Distbin Service"
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped"
#=================================================
# MODIFY URL IN NGINX CONF
@ -139,7 +139,7 @@ ynh_store_file_checksum --file="$config"
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service"
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started"
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sleep 60

View file

@ -182,7 +182,7 @@ yunohost service add $app --description="Distributed pastebin" --log="/var/log/$
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service"
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started"
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sleep 60

View file

@ -130,7 +130,7 @@ yunohost service add $app --description="Distributed pastebin" --log="/var/log/$
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service"
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started"
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sleep 60

View file

@ -51,7 +51,7 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped Distbin Service"
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped"
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
@ -203,7 +203,7 @@ yunohost service add $app --description="Distributed pastebin" --log="/var/log/$
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service"
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started"
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sleep 60