forked from cohabit/server_config
fix: patch recursive cp
in deploy scripts
This commit is contained in:
parent
d76f2af18a
commit
099672acf6
|
@ -1,6 +1,6 @@
|
||||||
# Setup caddy config
|
# Setup caddy config
|
||||||
mkdir -p /etc/caddy
|
mkdir -p /etc/caddy
|
||||||
cp ./caddy/caddy/* /etc/caddy
|
cp -a ./caddy/caddy/. /etc/caddy/
|
||||||
|
|
||||||
# Setup caddy service
|
# Setup caddy service
|
||||||
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Setup forgejo config
|
# Setup forgejo config
|
||||||
cp ./forgejo/forgejo/* /etc/forgejo
|
cp -a ./forgejo/forgejo/. /etc/forgejo/
|
||||||
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
||||||
|
|
||||||
# Setup forgejo service
|
# Setup forgejo service
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# Setup vimrc
|
# Setup vimrc
|
||||||
cp ./vim/vim/* /root
|
cp -a ./vim/vim/. /root/
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Setup zsh
|
# Setup zsh
|
||||||
cp ./zsh/zsh/* /root
|
cp -a ./zsh/zsh/. /root
|
||||||
chsh -s /usr/bin/zsh
|
chsh -s /usr/bin/zsh
|
||||||
|
|
Loading…
Reference in a new issue