diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2026-05-30 10:27:03 +0200 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2026-05-30 10:27:03 +0200 |
| commit | 26c25b914b7f6248384a838c58a1f7a2e9b5a17d (patch) | |
| tree | 69085d4e9ceb35b2e67dd8a264a3dea16d2088f5 /debian13/etc/systemd/system | |
| parent | 0d82b5747f82d5963d1c937f21f294b526f91245 (diff) | |
add git server
Diffstat (limited to 'debian13/etc/systemd/system')
| -rw-r--r-- | debian13/etc/systemd/system/git-daemon.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian13/etc/systemd/system/git-daemon.service b/debian13/etc/systemd/system/git-daemon.service new file mode 100644 index 0000000..746dcec --- /dev/null +++ b/debian13/etc/systemd/system/git-daemon.service @@ -0,0 +1,14 @@ +[Unit] +Description=Start Git Daemon + +[Service] +ExecStart=/usr/bin/git daemon --reuseaddr --export-all --base-path=/var/git /var/git +Restart=always +RestartSec=2000ms +StandardOutput=syslog +StandardError=syslog +User=git +Group=git + +[Install] +WantedBy=multi-user.target |
