Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add systemd system service example (configured with User=)
The implementation makes use of ExecStart=bash -c "exec nsenter \ --preserve-credentials \ --net=/proc/$(cat $XDG_RUNTIME_DIR/containers/networks/aardvark-dns/aardvark.pid)/ns/net \ --user=/proc/$(cat $XDG_RUNTIME_DIR/libpod/tmp/pause.pid)/ns/user \ --mount=/proc/$(cat $XDG_RUNTIME_DIR/libpod/tmp/pause.pid)/ns/mnt \ /usr/local/bin/caddy run --environ --config /srv/caddy/Caddyfile" Fixes: #21 Signed-off-by: Erik Sjölund <[email protected]>
- Loading branch information