1[Unit]2Description=Soft Serve git server 🍦3Documentation=https://github.com/charmbracelet/soft-serve4Requires=network-online.target5After=network-online.target67[Service]8Type=simple9User=soft-serve10Group=soft-serve11Restart=always12RestartSec=113ExecStart=/usr/bin/soft serve14Environment=SOFT_SERVE_DATA_PATH=/var/lib/soft-serve15EnvironmentFile=-/etc/soft-serve.conf16WorkingDirectory=/var/lib/soft-serve1718# Hardening19ReadWritePaths=/var/lib/soft-serve20UMask=002721NoNewPrivileges=true22LimitNOFILE=104857623ProtectSystem=strict24ProtectHome=true25PrivateUsers=yes26PrivateTmp=true27PrivateDevices=true28ProtectHostname=true29ProtectClock=true30ProtectKernelTunables=true31ProtectKernelModules=true32ProtectKernelLogs=true33ProtectControlGroups=true34RestrictAddressFamilies=AF_UNIX AF_INET AF_INET635RestrictNamespaces=true36LockPersonality=true37MemoryDenyWriteExecute=true38RestrictRealtime=true39RestrictSUIDSGID=true40RemoveIPC=true41CapabilityBoundingSet=42AmbientCapabilities=43SystemCallFilter=@system-service44SystemCallFilter=~@privileged @resources45SystemCallArchitectures=native4647[Install]48WantedBy=multi-user.target