[Unit] Description=Coulobre website file operation CollectMode=inactive-or-failed [Service] Type=exec # The system manager starts this as root. An explicit User= can drop # CAP_SETUID during setup, before the receiver changes to the website user. WorkingDirectory=/opt/coulobre UMask=0027 ExecStart=/opt/coulobre/bin/coulobre-web-node files-request StandardInput=socket StandardOutput=socket StandardError=journal NoNewPrivileges=true CapabilityBoundingSet=CAP_SYS_CHROOT CAP_SETUID CAP_SETGID CAP_DAC_READ_SEARCH PrivateTmp=true PrivateDevices=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/srv/coulobre/web RestrictAddressFamilies=AF_UNIX RuntimeMaxSec=2min