diff options
Diffstat (limited to 'caddy/etc/systemd/system/fcgiwrap.service.d')
| -rw-r--r-- | caddy/etc/systemd/system/fcgiwrap.service.d/override.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/caddy/etc/systemd/system/fcgiwrap.service.d/override.conf b/caddy/etc/systemd/system/fcgiwrap.service.d/override.conf new file mode 100644 index 0000000..ab23e98 --- /dev/null +++ b/caddy/etc/systemd/system/fcgiwrap.service.d/override.conf @@ -0,0 +1,21 @@ +[Service] +User=cgit +Group=cgit + +NoNewPrivileges=yes +ProtectSystem=strict +ProtectHome=yes +ProtectKernelTunables=yes +ProtectKernelModules=yes +ProtectKernelLogs=yes +ProtectControlGroups=yes +ProtectClock=yes +PrivateTmp=yes +PrivateDevices=yes +RestrictSUIDSGID=yes +RestrictNamespaces=yes +RestrictAddressFamilies=AF_UNIX +CapabilityBoundingSet= + +ReadOnlyPaths=/srv/git +InaccessiblePaths=/srv/git/notes /srv/git/pass /srv/git/xylabs |
