mirror of
https://github.com/nxshock/simplefileshare.git
synced 2025-07-02 00:13:36 +05:00
Allow serving unix sockets
This commit is contained in:
parent
c41ff56ffa
commit
4847a2d05a
5 changed files with 35 additions and 14 deletions
|
@ -4,6 +4,8 @@ Description=simplefileshare service
|
|||
[Service]
|
||||
Type=simple
|
||||
User=simplefileshare
|
||||
Group=simplefileshare
|
||||
RuntimeDirectory=simplefileshare
|
||||
ExecStart=/usr/bin/simplefileshare
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
|
@ -27,7 +29,7 @@ ProtectKernelLogs=true
|
|||
ProtectKernelModules=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/simplefileshare
|
||||
ReadWritePaths=/var/lib/simplefileshare /run/simplefileshare
|
||||
RemoveIPC=true
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue