diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2023-10-14 14:30:23 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-10-15 14:15:41 +0200 |
commit | 0bafe6bc9edbedd3381273deb79722d69e562159 (patch) | |
tree | 7de5415ce6e69641365769563b94463db2fff3fb | |
parent | 039de9d5cc25922a9974fc6aaeb266792c59a20e (diff) |
etc/systemd/system/git-daemon.service: Add git-daemon configuration
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | etc/systemd/system/git-daemon.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/systemd/system/git-daemon.service b/etc/systemd/system/git-daemon.service new file mode 100644 index 0000000..4e0579d --- /dev/null +++ b/etc/systemd/system/git-daemon.service @@ -0,0 +1,18 @@ +[Unit] +Description=Start Git Daemon + +[Service] +ExecStart=/usr/bin/git daemon --reuseaddr --base-path=/srv /srv/src /srv/games + +Restart=always +RestartSec=500ms + +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=git-daemon + +User=git +Group=git + +[Install] +WantedBy=multi-user.target |