22 lines
538 B
Desktop File
22 lines
538 B
Desktop File
[Unit]
|
|||
|
|
Description=Coulobre website file operation
|
||
|
|
CollectMode=inactive-or-failed
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=exec
|
||
|
|
User=root
|
||
|
|
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
|