diff --git a/conf/stunnel.conf b/conf/stunnel.conf deleted file mode 100644 index 3c859d2..0000000 --- a/conf/stunnel.conf +++ /dev/null @@ -1,7 +0,0 @@ -[Smtp-Starttls] -client=yes -accept = __PORT_SMTP__ -connect = 587 - -protocol = smtp -protocolAuthentication = plain diff --git a/manifest.toml b/manifest.toml index 4c5efcc..1b50376 100644 --- a/manifest.toml +++ b/manifest.toml @@ -62,15 +62,9 @@ ram.runtime = "200M" sync_client.auth_header = false sync_client.additional_urls = ["/Microsoft-Server-ActiveSync", "/principals", "/.well-known/caldav", "/.well-known/carddav"] - - [resources.ports] - main.default = 20000 - smtp.default = 20001 - [resources.apt] packages = [ "sogo", - "stunnel4", "memcached", "mariadb-server", ] diff --git a/scripts/install b/scripts/install index 35dfd2c..900360c 100755 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,6 @@ chmod -R 750 "/var/log/$app" ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name="$app" --action="restart" --log_path="systemd" -ynh_systemd_action --service_name="stunnel4" --action="restart" --log_path="systemd" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 62d5b1b..f1be7c6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,13 +65,14 @@ yunohost service add "sogo" --description="Groupware for E-Mail, Contacts and Ca # Use logrotate to manage app-specific logfile(s) ynh_use_logrotate --logfile="/var/log/$app/sogo.log" --nonappend +set_permissions + #================================================= # START SYSTEMD SERVICE #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name="$app" --action="restart" --log_path="systemd" -ynh_systemd_action --service_name="stunnel4" --action="restart" --log_path="systemd" #================================================= # END OF SCRIPT