21 lines
429 B
Desktop File
21 lines
429 B
Desktop File
[Unit]
|
|
Description=Simple Web Service
|
|
|
|
[Service]
|
|
User=usertwist
|
|
Group=usertwist
|
|
ExecStart=/usr/local/bin/usertwist
|
|
PrivateTmp=yes
|
|
NoNewPrivileges=true
|
|
RestrictNamespaces=uts ipc pid user cgroup
|
|
ProtectSystem=strict
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
PrivateDevices=yes
|
|
RestrictSUIDSGID=true
|
|
ProtectHome=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |