[Unit] Description=Coulobre scheduled website job CollectMode=inactive-or-failed [Service] Type=exec # The system service starts as root and switches to the website user. WorkingDirectory=/opt/coulobre ExecStart=/opt/coulobre/bin/coulobre-web-node job-request StandardInput=socket StandardOutput=socket StandardError=journal CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_DAC_READ_SEARCH NoNewPrivileges=true PrivateTmp=true PrivateDevices=true ProtectSystem=strict ProtectHome=true ProtectProc=invisible ProtectControlGroups=true ReadWritePaths=/srv/coulobre/web RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 RestrictNamespaces=true RestrictSUIDSGID=true MemoryMax=256M TasksMax=32 CPUQuota=100% RuntimeMaxSec=75s TimeoutStopSec=5s KillMode=control-group