Remove wrong service code
This commit is contained in:
parent
4f12639672
commit
9fa18166ca
1 changed files with 2 additions and 29 deletions
|
@ -668,6 +668,7 @@ write_files:
|
||||||
'(custom-enabled-themes '(modus-vivendi))
|
'(custom-enabled-themes '(modus-vivendi))
|
||||||
'(package-selected-packages '(magit)))
|
'(package-selected-packages '(magit)))
|
||||||
(custom-set-faces)
|
(custom-set-faces)
|
||||||
|
|
||||||
- path: home/cl/.config/systemd/user/emacs.service
|
- path: home/cl/.config/systemd/user/emacs.service
|
||||||
owner: cl:cl
|
owner: cl:cl
|
||||||
defer: True
|
defer: True
|
||||||
|
@ -686,16 +687,7 @@ write_files:
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
||||||
- path: /home/cl/create_hunchentoot_image.sh
|
- path: /home/cl/webserver.lisp
|
||||||
owner: cl:cl
|
|
||||||
permissions: '0755'
|
|
||||||
defer: True
|
|
||||||
content: |
|
|
||||||
sbcl --non-interactive \
|
|
||||||
--load ~/start-hunchentoot.lisp \
|
|
||||||
--eval '(sb-ext:save-lisp-and-die "hunchentoot.image" :toplevel #'start-server :executable t)'
|
|
||||||
|
|
||||||
- path: /home/cl/start-hunchentoot.lisp
|
|
||||||
owner: cl:cl
|
owner: cl:cl
|
||||||
defer: True
|
defer: True
|
||||||
content: |
|
content: |
|
||||||
|
@ -708,25 +700,6 @@ write_files:
|
||||||
(setf (hunchentoot:content-type*) "text/html")
|
(setf (hunchentoot:content-type*) "text/html")
|
||||||
(format nil "<!DOCTYPE html><html><head><title>Hello</title></head><body><h1>Hello, World!</h1></body></html>"))
|
(format nil "<!DOCTYPE html><html><head><title>Hello</title></head><body><h1>Hello, World!</h1></body></html>"))
|
||||||
|
|
||||||
(start-server :port 8080)
|
|
||||||
|
|
||||||
- path: /home/cl/.config/systemd/user/hunchentoot.service
|
|
||||||
owner: cl:cl
|
|
||||||
defer: True
|
|
||||||
content: |
|
|
||||||
[Unit]
|
|
||||||
Description=Hunchentoot Web Server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=cl
|
|
||||||
ExecStart=/home/cl/hunchentoot.image
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
# Run Certbot to obtain SSL certificates and configure Nginx
|
# Run Certbot to obtain SSL certificates and configure Nginx
|
||||||
- certbot certonly --nginx -d u1.metalisp.dev --non-interactive --agree-tos --email marcus.kammer@mailbox.org --redirect
|
- certbot certonly --nginx -d u1.metalisp.dev --non-interactive --agree-tos --email marcus.kammer@mailbox.org --redirect
|
||||||
|
|
Loading…
Add table
Reference in a new issue