Compare commits
No commits in common. "78e02a6452c3f0903a5a3aa4a42ee49cce16b4a5" and "59b91cc04e2316265a946f3fc4b19003dbd6f284" have entirely different histories.
78e02a6452
...
59b91cc04e
|
@ -1,8 +1,6 @@
|
||||||
# Setup caddy config
|
# Setup caddy config
|
||||||
mkdir -p /etc/caddy
|
mkdir -p /etc/caddy
|
||||||
cp -a ./caddy/caddy/. /etc/caddy/
|
cp -a ./caddy/caddy/. /etc/caddy/
|
||||||
# Set directory owner
|
|
||||||
chown -R 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
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
echo "[server_config] > Writting secrets to source files"
|
echo "[server_config] > Writting secrets to source files"
|
||||||
source ./load_secrets.sh
|
source ./load_secrets.sh
|
||||||
|
|
||||||
# Make sure default owner of config files is root
|
|
||||||
chown -R root:root .
|
|
||||||
|
|
||||||
# Deploy services
|
# Deploy services
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
echo "[server_config] > Installing required utilities"
|
echo "[server_config] > Installing required utilities"
|
||||||
source ./_requirements.sh
|
source ./_requirements.sh
|
||||||
|
|
||||||
# Make sure default owner of config files is root
|
|
||||||
chown -R root:root .
|
|
||||||
|
|
||||||
# Install services
|
# Install services
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,5 @@ fi
|
||||||
rm -rf /srv/portfolio
|
rm -rf /srv/portfolio
|
||||||
# Create fs tree is missing
|
# Create fs tree is missing
|
||||||
mkdir -p /srv/portfolio
|
mkdir -p /srv/portfolio
|
||||||
# Set directory owner
|
|
||||||
chown -R deno:deno /srv/portfolio
|
|
||||||
# Clone website repo
|
# Clone website repo
|
||||||
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/portfolio_server.git /srv/portfolio
|
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/portfolio_server.git /srv/portfolio
|
||||||
|
|
|
@ -22,7 +22,5 @@ fi
|
||||||
rm -rf /srv/www
|
rm -rf /srv/www
|
||||||
# Create fs structure
|
# Create fs structure
|
||||||
mkdir -p /srv/www
|
mkdir -p /srv/www
|
||||||
# Set directory owner
|
|
||||||
chown -R deno:deno /srv/www
|
|
||||||
# Clone website repo
|
# Clone website repo
|
||||||
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/website.git /srv/www
|
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/website.git /srv/www
|
||||||
|
|
|
@ -6,12 +6,6 @@ autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
# End of lines added by compinstall
|
||||||
|
|
||||||
################################
|
|
||||||
# Update path
|
|
||||||
################################
|
|
||||||
|
|
||||||
PATH=$PATH:/usr/games
|
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# Webinstall.dev install
|
# Webinstall.dev install
|
||||||
################################
|
################################
|
||||||
|
|
Loading…
Reference in a new issue