directus tmux et caddy 10
This commit is contained in:
parent
0e46ad8168
commit
6648bc7b0f
|
@ -264,7 +264,7 @@ if [[ "$answer" == "y" ]]; then
|
||||||
|
|
||||||
session="directus"
|
session="directus"
|
||||||
su -c "tmux new-session -d -s ${session} &&\
|
su -c "tmux new-session -d -s ${session} &&\
|
||||||
tmux send-keys -t ${session} \"cd /home/${username}/${cms_folder} && npx directus start\" C-m" $username
|
tmux send-keys -t ${session} \"cd /home/${username}/${cms_folder} && npx directus start\" C-m" caddy
|
||||||
|
|
||||||
caddyfile="/etc/caddy/Caddyfile"
|
caddyfile="/etc/caddy/Caddyfile"
|
||||||
echo "cms.${domain_name} {" >> $caddyfile
|
echo "cms.${domain_name} {" >> $caddyfile
|
||||||
|
|
Loading…
Reference in New Issue