diff options
Diffstat (limited to 'server')
-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 |