One-time server setup to allow passwordless sudo for systemctl commands.
This creates a sudoers rule on the remote server so that the deploy user can stop, start, and restart the application service without a password prompt.
Usage
mix deploy.setupYou will be prompted for the sudo password on the server once during setup.
After that, mix deploy will work without password prompts.
Options
If the deploy user does not yet have sudo access, you can specify a different SSH user (e.g., root) to perform the setup:
mix deploy.setup --ssh-user root