diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-11-27 14:44:56 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-11-27 14:44:56 +0100 |
commit | cda60574b15fc2bbb6f0fee2b6fbfd24afed2948 (patch) | |
tree | 4cd18b3939a9f84f80db12bd3971ced142cc6d6b /server/git.service | |
parent | db3d2904f2fe611d74a09cdfac6e0b01ca9c831c (diff) |
Diffstat (limited to 'server/git.service')
-rw-r--r-- | server/git.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/server/git.service b/server/git.service new file mode 100644 index 0000000..d86c8ad --- /dev/null +++ b/server/git.service @@ -0,0 +1,18 @@ +[Unit] +Description=Start Git Daemon + +[Service] +ExecStart=/usr/bin/git daemon --base-path=/var/lib/gitolite3/repositories --reuseaddr /var/lib/gitolite3/repositories + +Restart=always +RestartSec=500ms + +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=git-daemon + +User=gitdaemon +Group=gitolite3 + +[Install] +WantedBy=multi-user.target |