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))
|
||||
'(package-selected-packages '(magit)))
|
||||
(custom-set-faces)
|
||||
|
||||
- path: home/cl/.config/systemd/user/emacs.service
|
||||
owner: cl:cl
|
||||
defer: True
|
||||
|
@ -686,16 +687,7 @@ write_files:
|
|||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
- path: /home/cl/create_hunchentoot_image.sh
|
||||
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
|
||||
- path: /home/cl/webserver.lisp
|
||||
owner: cl:cl
|
||||
defer: True
|
||||
content: |
|
||||
|
@ -708,25 +700,6 @@ write_files:
|
|||
(setf (hunchentoot:content-type*) "text/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:
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue