40 lines
815 B
Desktop File
Executable File
40 lines
815 B
Desktop File
Executable File
[Unit]
|
|
Description=dwelling-files
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
DynamicUser=yes
|
|
ExecStart=/usr/bin/dwelling-files -path /srv/ftp -listen /var/run/dwelling-files/f.sock
|
|
|
|
ReadOnlyPaths=/
|
|
NoExecPaths=/
|
|
ExecPaths=/usr/bin/dwelling-files
|
|
|
|
LogsDirectory=dwelling-files
|
|
RuntimeDirectory=dwelling-files
|
|
|
|
AmbientCapabilities=
|
|
CapabilityBoundingSet=
|
|
|
|
LockPersonality=true
|
|
MemoryDenyWriteExecute=true
|
|
NoNewPrivileges=true
|
|
PrivateDevices=true
|
|
ProtectClock=true
|
|
ProtectControlGroups=true
|
|
ProtectHome=true
|
|
ProtectKernelLogs=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
ProtectSystem=strict
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
|
RestrictNamespaces=true
|
|
RestrictRealtime=true
|
|
RestrictSUIDSGID=true
|
|
SystemCallArchitectures=native
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|