www-data 14

This commit is contained in:
Valentin 2024-02-26 00:23:05 +01:00
parent e1c052c02e
commit 495e8dd1cb
1 changed files with 2 additions and 1 deletions

View File

@ -368,7 +368,8 @@ if [[ "$answer" == "y" ]]; then
chown -R www-data:www-data /home/$username/.npm chown -R www-data:www-data /home/$username/.npm
chown -R www-data:www-data /home/$username/$front_folder chown -R www-data:www-data /home/$username/$front_folder
su -s /bin/bash -c "NUXT_TELEMETRY_DISABLED=1 bash -c \"npm run build\" &&\ su -s /bin/bash -c "cd /home/${username}/${front_folder} &&\
NUXT_TELEMETRY_DISABLED=1 bash -c \"npm run build\" &&\
tmux new-session -d -s front &&\ tmux new-session -d -s front &&\
tmux send-keys -t front \"cd /home/${username}/${front_folder} && node .output/server/index.mjs\" C-m &&\ tmux send-keys -t front \"cd /home/${username}/${front_folder} && node .output/server/index.mjs\" C-m &&\
tmux send-keys -t directus \"npx directus start\" C-m" www-data tmux send-keys -t directus \"npx directus start\" C-m" www-data