summaryrefslogtreecommitdiff
path: root/roles/gitserver/files/git-daemon.service
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-03-21 22:49:22 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2026-03-21 22:49:22 +0000
commit15a6ad3fdc4844dd9a47a2e0a6f467c7b57a828a (patch)
tree10d382d4fa5b85f8a36efff4b7b56c0ceff6635d /roles/gitserver/files/git-daemon.service
parent9ae50e0b9df557e0500ef51aa5591a4c497773b5 (diff)
downloadinfra-15a6ad3fdc4844dd9a47a2e0a6f467c7b57a828a.tar.gz
infra-15a6ad3fdc4844dd9a47a2e0a6f467c7b57a828a.tar.bz2
infra-15a6ad3fdc4844dd9a47a2e0a6f467c7b57a828a.zip
Use override for git-daemon.service
Instead of modifying pacman owned file in place.
Diffstat (limited to 'roles/gitserver/files/git-daemon.service')
-rw-r--r--roles/gitserver/files/git-daemon.service14
1 files changed, 0 insertions, 14 deletions
diff --git a/roles/gitserver/files/git-daemon.service b/roles/gitserver/files/git-daemon.service
deleted file mode 100644
index e08d066..0000000
--- a/roles/gitserver/files/git-daemon.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Git Daemon Instance
-
-[Service]
-User=git
-# The '-' is to ignore non-zero exit statuses
-ExecStart=-/usr/lib/git-core/git-daemon --inetd --base-path=/srv/git
-StandardInput=socket
-StandardOutput=inherit
-StandardError=journal
-ProtectSystem=full
-ProtectHome=on
-PrivateDevices=on
-NoNewPrivileges=on