coreos-home-server/config/service/git/container/run-git-server
Alex Palaistras d9f675817e First public release for CoreOS Home Server
This contains the culmination of work done privately for a few months,
and is intended to be a solid basis for other peoples' experimentations
with setting up single-node, home-server setups using Fedora CoreOS.
2021-03-20 16:32:42 +00:00

9 lines
152 B
Bash
Executable File

#!/bin/sh
# Correct permissions where needed.
chown -R git:git /home/git
chmod -R u+rwX,go-rwxX /home/git/.ssh
# Run SSH daemon.
/usr/sbin/sshd -D -e