summaryrefslogtreecommitdiff
path: root/units/git-daemon.service
blob: fe61257ca690028f4ccfd12dedcb6b12dbcd4a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Install]
WantedBy=multi-user.target

# If there's a shared /var subvolume, it must be mounted before this
# unit runs.
Requires=local-fs.target
After=local-fs.target

[Unit]
Description=Git Daemon for Trove
After=network.target

[Service]
ExecStart=/usr/bin/git daemon --base-path=/home/git/repos --reuseaddr --user=git --group=git /home/git/repos
Restart=always