Skip to content

Instantly share code, notes, and snippets.

@anxiousmodernman
Created June 11, 2017 21:31
Show Gist options
  • Save anxiousmodernman/25dfb7d4a5b225464eec8f2f169efbea to your computer and use it in GitHub Desktop.
Save anxiousmodernman/25dfb7d4a5b225464eec8f2f169efbea to your computer and use it in GitHub Desktop.
[Unit]
Description="My Website"
[Service]
Slice=machine.slice
Environment="CERTS=/etc/letsencrypt/live/stage.coleman.codes/"
ExecStart=/usr/bin/rkt run --net=host --debug /opt/site/caddy-local-linux-amd64.aci --insecure-options=all --volume certs,kind=host,source=${CERTS},readOnly=true
KillMode=mixed
Restart=always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment