1
0
dwelling-files/init/systemd/dwelling-files.service

41 lines
803 B
Desktop File
Executable File

[Unit]
Description=dwelling-files
After=network-online.target
[Service]
Type=simple
Restart=on-failure
User=dwfiles
Group=dwfiles
ExecStart=/usr/bin/dwelling-files -conf /etc/dwelling/files.yaml
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