I am trying to configure Shiny Server Pro with a SSL certificate from Letsencrypt. I follow these commands to create my certificate as described here: https://certbot.eff.org/#ubuntuxenial-other
sudo apt-get install letsencrypt
sudo systemctl stop shiny-server
letsencrypt certonly --standalone -d pbisny.org -d www.pbisny.org
I add this line to /etc/shiny-server/shiny-server.conf
ssl /etc/letsencrypt/live/pbisny.org/privkey.pem /etc/letsencrypt/live/pbisny.org/cert.pem
And start the server.
sudo systemctl start shiny-server
I then get this error:
Job for shiny-server.service failed because a configured resource limit
was exceeded. See "systemctl status shiny-server.service" and
"journalctl -xe" for details.
Here are the details of systemctl status shiny-server.service
shiny-server.service - ShinyServer
Loaded: loaded (/etc/systemd/system/shiny-server.service; enabled; vendor preset: enabled)
Active: failed (Result: resources) since Sat 2016-10-22 12:29:19 UTC; 9s ago
Process: 18702 ExecStopPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Process: 18685 ExecStartPost=/bin/sleep 3 (code=exited, status=0/SUCCESS)
Process: 18684 ExecStart=/bin/bash -c /opt/shiny-server/bin/shiny-server --pidfile=/var/run/shiny-server.pid >> /var/l
Main PID: 18684 (code=exited, status=0/SUCCESS)
Oct 22 12:29:11 pbis-pro systemd[1]: Starting ShinyServer...
Oct 22 12:29:14 pbis-pro systemd[1]: shiny-server.service: PID file /var/run/shiny-server.pid not readable (yet?) after
Oct 22 12:29:19 pbis-pro systemd[1]: Failed to start ShinyServer.
Oct 22 12:29:19 pbis-pro systemd[1]: shiny-server.service: Unit entered failed state.
Oct 22 12:29:19 pbis-pro systemd[1]: shiny-server.service: Failed with result 'resources'.
I will admit, I am not a sys admin. Any help figuring out what this error means is greatly appreciated.