emcp
08/13/2022, 2:58 PMcat <<EOT >> /home/ubuntu/start_meltano.sh
#!/bin/bash
cd /home/ubuntu/meltano_proj_repo
/home/ubuntu/.local/bin/meltano invoke airflow scheduler -D
/home/ubuntu/.local/bin/meltano ui &
EOT
This writes out the script which I then want to execute... I am in Juju so I am running as root .. and want to instead start up with the ubuntu user
usually this is a straight forward sudo -u ubuntu command... but when I do this nothing seems to start upemcp
08/13/2022, 5:11 PMemcp
08/27/2022, 3:59 PM