index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff
gitrs / git-rs.service
-rw-r--r-- blob 1814be55a5e35e26862f9a72b6109a3113047252 356 bytes (plain)
1
[Unit]
2
Description=git-rs — Lightweight Git web frontend
3
After=network-online.target
4
Wants=network-online.target
5
6
[Service]
7
Type=simple
8
User=root
9
WorkingDirectory=/srv/git
10
ExecStart=/usr/bin/git-rs --url 0.0.0.0 --port 80 --repos-dir /srv/git
11
Restart=on-failure
12
RestartSec=5
13
AmbientCapabilities=CAP_NET_BIND_SERVICE
14
15
[Install]
16
WantedBy=multi-user.target