[Unit] Description=Waydroid Headless Auto-Start After=network.target waydroid-container.service [Service] Type=simple User=ubuntu WorkingDirectory=/home/ubuntu # IMPORTANT: Use the exact absolute path to your .sh script here ExecStart=/bin/bash /home/ubuntu/start_waydroid.sh Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target