diff --git a/conf/systemd.service b/conf/systemd.service index b254212..5cfbedd 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,12 +1,12 @@ [Unit] Description=Dispatch IRC client -Wants=network-online.target -After=network-online.target +After=network.target [Service] Type=simple User=__APP__ Group=__APP__ +WorkingDirectory=__FINALPATH__/ ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__ Restart=on-failure RestartSec=5 @@ -14,4 +14,4 @@ StartLimitInterval=60s StartLimitBurst=3 [Install] -WantedBy=default.target +WantedBy=multi-user.target 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 diff --git a/scripts/restore b/scripts/restore index 78b6f2b..a0a5425 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 "