dokku-postgres icon indicating copy to clipboard operation
dokku-postgres copied to clipboard

Feature request: add --no-restart option

Open gleniat opened this issue 2 years ago • 0 comments

Description of problem

It would be nice to have an option for not restarting the app in dokku postgres commands. The --no-restart argument to prevent restarting the app is currently available to many base dokku commands.

Example

dokku postgres:link mydb my-app --no-restart

Expected Results

$ dokku postgres:link mydb my-app --no-restart
-----> Setting config vars
       DATABASE_URL:  postgres://postgres:1234567890abcdef1234567890abcdef@dokku-postgres-mydb:5432/mydb
$ 

Actual Results

--no-restart option is currently not recognised.

$ dokku postgres:link mydb my-app
-----> Setting config vars
       DATABASE_URL:  postgres://postgres:1234567890abcdef1234567890abcdef@dokku-postgres-mydb:5432/mydb
-----> Restarting app my-app
-----> Releasing my-app...
-----> Checking for predeploy task
-----> Checking for release task
...

gleniat avatar Jul 01 '22 08:07 gleniat