www-data 14
This commit is contained in:
parent
e1c052c02e
commit
495e8dd1cb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue