1
0
dwelling-home/init/systemd.service

37 lines
836 B
SYSTEMD
Raw Normal View History

2023-01-16 05:24:07 +04:00
[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