Browse Source

update .conf and .service files for main site (ritherdon-archive).

I fixed a typo's and put placeholders (E.G. '<INSERT URL HERE>') in places you
need to put your own data when deploying to your system.
stable
Craig Oates 1 year ago
parent
commit
5a667149a2
  1. 4
      conf/ritherdon-archive.conf
  2. 4
      conf/ritherdon-archive.service

4
conf/ritherdon-archive.conf

@ -1,10 +1,10 @@
upstream woo {
server 127.0.0.1:3001;
server 127.0.0.1:5000;
}
server {
listen 80;
server_name www.nicolaellisandritherdonarchive.com nicolaellisandritherdonarchive.com;
server_name <INSERT URL HERE>;
root ~/quicklisp/local-projects/ritherdon-archive/templates/;

4
conf/ritherdon-archive.service

@ -3,11 +3,11 @@ Description=Nicola Ellis and Ritherdon Archive website.
After = syslog.target network.target
[Service]
ExecStart=/usr/bin/sbcl --eval '(ql:quickload :co-web)' --eval '(setf (osicat:environment-variable "APP_ENV") "production")' --eval '(ritherdon-archive:main)'
ExecStart=/usr/bin/sbcl --eval '(ql:quickload :ritherdon-archive)' --eval '(setf (osicat:environment-variable "APP_ENV") "production")' --eval '(ritherdon-archive:main)'
Restart=always
RestartSec=10
KillSignal=SIGINT
User=nic
User=<INSERT USERNAME HERE>
[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save