File obs-git-cache-daemon.service of Package obs-git-explorer
[Unit] Description=OBS Git Explorer Cache Daemon (Event-driven) After=network-online.target obs-git-explorer.service Wants=network-online.target # Start after web app to avoid database contention during initialization Requires=obs-git-explorer.service [Service] Type=simple User=obsgitexplorer WorkingDirectory=/srv/obs-git-explorer ExecStart=/usr/bin/obs-git-cache-daemon --config /etc/obs-git-explorer/config.ini # Restart on failure (e.g., network issues) Restart=on-failure RestartSec=30 # Logging StandardOutput=journal StandardError=journal SyslogIdentifier=obs-git-cache-daemon # Security hardening NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/srv/obs-git-explorer [Install] WantedBy=multi-user.target