Hey eveyone i want to create instance in lightsail with snapshots but User Data not working as expected.
User Data:
#!/bin/bash
screen -S client
cd clients
./target/release/client
screen -a -d
Script above should creates new screen > moving to clients file > running code > detteaching the screen
But its not even creating new screen in this directory. What can be wrong ?