isnotowen / ubuntu-nginx-commandbox

Install script for bringing up and securing an nginx + commandbox server
5 stars 3 forks source link

Certbot install script is outdated for Ubuntu 20.04 LTS #9

Open JonasEriksson opened 3 years ago

JonasEriksson commented 3 years ago

from the install process on Ubuntu 20.04 LTS: Setting up commandbox Copying CommandBox Service (Default) Adding CommandBox Default as service commandbox-default.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable commandbox-default _Add Certbot PPA 'universe' distribution component is already enabled for all sources. The PPA has been DEPRECATED.

To get up to date instructions on how to get certbot for your systems, please see https://certbot.eff.org/docs/install.html. More info: https://launchpad.net/~certbot/+archive/ubuntu/certbot Press [ENTER] to continue or Ctrl-c to cancel adding it._

HatBeardZero commented 2 years ago

one of the big tricks to getting this to work on ubuntu 20 was adding a second service file /etc/systemd/system/tomcat9.service.d/lucee.conf, and adding the below.

[Service] ReadWritePaths=/opt/lucee/ ReadWritePaths=/opt/lucee/config/ ReadWritePaths=/opt/fusionreactor/