From 880cf7e34785e9bccfdd32de8d74cf027cbd296b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 30 Aug 2021 11:42:05 +0200 Subject: [PATCH 1/4] Fix --- conf/nginx.conf | 1 - conf/systemd.service | 12 ++++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 24edbcb..0119228 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -16,5 +16,4 @@ location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - } diff --git a/conf/systemd.service b/conf/systemd.service index dc1e7de..1bcd5fc 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,17 +1,13 @@ [Unit] Description=Dispatch IRC client -Wants=network-online.target -After=network-online.target +After=network.target [Service] Type=simple User=__APP__ -Group=nogroup +Group=__APP__ +WorkingDirectory=__FINALPATH__/ ExecStart=__FINALPATH__/dispatch -Restart=on-failure -RestartSec=5 -StartLimitInterval=60s -StartLimitBurst=3 [Install] -WantedBy=default.target +WantedBy=multi-user.target From 3eed27e51c480596b42469170f70a2b1723b768e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 30 Aug 2021 11:48:11 +0200 Subject: [PATCH 2/4] Update restore --- scripts/restore | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 23110a6..816553c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -35,8 +35,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " From 73e1be36f69e5af6ba7f732747c13409a4e6e20a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 30 Aug 2021 11:53:31 +0200 Subject: [PATCH 3/4] Create DESCRITION.md --- doc/DESCRITION.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/DESCRITION.md diff --git a/doc/DESCRITION.md b/doc/DESCRITION.md new file mode 100644 index 0000000..f3b4247 --- /dev/null +++ b/doc/DESCRITION.md @@ -0,0 +1,10 @@ +### Features + +- Searchable history +- Persistent connections +- Multiple servers and users +- Automatic HTTPS through Let's Encrypt +- Single binary with no dependencies +- DCC downloads +- SASL +- Client certificates From fb691fd5986adbd5a9e71279c7a19c6c54d35aa1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 30 Aug 2021 12:56:01 +0200 Subject: [PATCH 4/4] Update check_process --- check_process | 1 + 1 file changed, 1 insertion(+) diff --git a/check_process b/check_process index a0a8c6f..2d042c8 100644 --- a/check_process +++ b/check_process @@ -11,6 +11,7 @@ setup_private=1 setup_public=1 upgrade=1 + #upgrade=1 from_commit=CommitHash backup_restore=1 multi_instance=0 change_url=1