2022-06-27 04:38:09 +04:00
|
|
|
[Unit]
|
|
|
|
Description=dwelling-files
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
2022-06-28 04:58:17 +04:00
|
|
|
DynamicUser=yes
|
2022-12-17 21:29:07 +04:00
|
|
|
ExecStart=/usr/bin/dwelling-files -path /srv/ftp -listen /var/run/dwelling-files/sock
|
2022-06-27 04:38:09 +04:00
|
|
|
|
|
|
|
ReadOnlyPaths=/
|
|
|
|
NoExecPaths=/
|
2022-06-28 04:30:09 +04:00
|
|
|
ExecPaths=/usr/bin/dwelling-files
|
2022-06-27 04:38:09 +04:00
|
|
|
|
|
|
|
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
|