37 lines
836 B
SYSTEMD
37 lines
836 B
SYSTEMD
|
[Unit]
|
||
|
Description=Arav's dwelling / Home
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
Restart=on-failure
|
||
|
DynamicUser=yes
|
||
|
ExecStart=/usr/bin/dwelling-home -listen /var/run/dwelling-home/sock -db-path /var/lib/dwelling-home -captcha-expiry 10m -gb-owner Admin -gb-pagesz 60
|
||
|
|
||
|
ReadOnlyPaths=/
|
||
|
|
||
|
RuntimeDirectory=dwelling-home
|
||
|
StateDirectory=dwelling-home
|
||
|
|
||
|
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
|