|
|
@ -1,6 +1,6 @@
|
|
|
|
[Unit]
|
|
|
|
[Unit]
|
|
|
|
Description=Goldilocks Internet Server
|
|
|
|
Description=Goldilocks Internet Server
|
|
|
|
Documentation=https://git.daplie.com/Daplie/goldilocks.js
|
|
|
|
Documentation=https://git.coolaj86.com/coolaj86/goldilocks.js
|
|
|
|
After=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target systemd-networkd-wait-online.service
|
|
|
|
Wants=network-online.target systemd-networkd-wait-online.service
|
|
|
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ ProtectSystem=full
|
|
|
|
# … except TLS/SSL, ACME, and Let's Encrypt certificates
|
|
|
|
# … except TLS/SSL, ACME, and Let's Encrypt certificates
|
|
|
|
# and /var/log/goldilocks, because we want a place where logs can go.
|
|
|
|
# and /var/log/goldilocks, because we want a place where logs can go.
|
|
|
|
# This merely retains r/w access rights, it does not add any new. Must still be writable on the host!
|
|
|
|
# This merely retains r/w access rights, it does not add any new. Must still be writable on the host!
|
|
|
|
ReadWriteDirectories=/etc/goldilocks /etc/ssl /srv/www /var/log/goldilocks /opt/goldilocks
|
|
|
|
ReadWriteDirectories=/etc/goldilocks /srv/www /var/log/goldilocks /opt/goldilocks
|
|
|
|
# you may also want to add other directories such as /opt/goldilocks /etc/acme /etc/letsencrypt
|
|
|
|
# you may also want to add other directories such as /opt/goldilocks /etc/acme /etc/letsencrypt
|
|
|
|
|
|
|
|
|
|
|
|
# Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories
|
|
|
|
# Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories
|
|
|
|