1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piped_ynh.git synced 2024-09-03 20:05:54 +02:00

Cleanup config

This commit is contained in:
Mateusz 2024-06-02 21:58:30 +02:00
parent 11b65f52e8
commit 0ad88749a8
5 changed files with 4 additions and 45 deletions

View file

@ -82,7 +82,7 @@ MATRIX_SERVER:https://matrix-client.matrix.org
# Hibernate properties # Hibernate properties
hibernate.connection.url:jdbc:postgresql://127.0.0.1:5432/__DB_NAME__ hibernate.connection.url:jdbc:postgresql://127.0.0.1:5432/__DB_NAME__
hibernate.connection.driver_class:org.postgresql.Driver hibernate.connection.driver_class:org.postgresql.Driver
hibernate.dialect:org.hibernate.dialect.PostgreSQLDialect #hibernate.dialect:org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.username:__DB_USER__ hibernate.connection.username:__DB_USER__
hibernate.connection.password:__DB_PWD__ hibernate.connection.password:__DB_PWD__

View file

@ -119,7 +119,7 @@ yunohost service add "$app-proxy" --description="Piped HTTP proxy service" --log
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="HTTP Server is listening on" ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="Database connection is ready!"
ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/log/$app/$app-proxy.log" --line_match="Running server!" ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/log/$app/$app-proxy.log" --line_match="Running server!"

View file

@ -69,7 +69,7 @@ ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE
#================================================= #=================================================
ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="HTTP Server is listening on" ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="Database connection is ready!"
ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/log/$app/$app-proxy.log" --line_match="Running server!" ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/log/$app/$app-proxy.log" --line_match="Running server!"

View file

@ -135,7 +135,7 @@ chmod 600 "$install_dir/config.properties"
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="HTTP Server is listening on" ynh_systemd_action --service_name=$app-api --action="start" --log_path="/var/log/$app/$app-api.log" --line_match="Database connection is ready!"
ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/log/$app/$app-proxy.log" --line_match="Running server!" ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/log/$app/$app-proxy.log" --line_match="Running server!"

View file

@ -1,41 +0,0 @@
diff --git a/Cargo.lock b/Cargo.lock
index e299b8c..3492d62 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1041,9 +1041,9 @@ dependencies = [
[[package]]
name = "libmimalloc-sys"
-version = "0.1.37"
+version = "0.1.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81eb4061c0582dedea1cbc7aff2240300dd6982e0239d1c99e65c1dbf4a30ba7"
+checksum = "3979b5c37ece694f1f5e51e7ecc871fdb0f517ed04ee45f88d15d6d553cb9664"
dependencies = [
"cc",
"libc",
@@ -1125,9 +1125,9 @@ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
[[package]]
name = "mimalloc"
-version = "0.1.41"
+version = "0.1.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f41a2280ded0da56c8cf898babb86e8f10651a34adcfff190ae9a1159c6908d"
+checksum = "fa01922b5ea280a911e323e4d2fd24b7fe5cc4042e0d2cda3c40775cdc4bdc9c"
dependencies = [
"libmimalloc-sys",
]
diff --git a/Cargo.toml b/Cargo.toml
index 91444eb..da3f806 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ reqwest = { version = "0.11.27", features = ["stream", "brotli", "gzip", "socks"
qstring = "0.7.2"
# Alternate Allocator
-mimalloc = { version = "0.1.41", optional = true }
+mimalloc = { version = "0.1.39", optional = true }
# Transcoding Images to WebP/AVIF to save bandwidth
image = { version = "0.25.1", features = ["jpeg", "webp", "rayon"], default-features = false, optional = true }