clone url: git://git.m455.casa/repo2html
assets/git-daemon.service
1 | [Unit] |
2 | Description=Start Git Daemon |
3 |
|
4 | [Service] |
5 | ExecStart=/usr/bin/git daemon --base-path=/home/git/projects --export-all --reuseaddr --informative-errors --verbose |
6 | Restart=always |
7 | RestartSec=500ms |
8 | StandardOutput=syslog |
9 | StandardError=syslog |
10 | SyslogIdentifier=git-daemon |
11 | User=git |
12 | Group=git |
13 |
|
14 | [Install] |
15 | WantedBy=multi-user.target |