DEV: Replace postCreateCommand with postStartCommand (#16665)

The boot script should be run whenever the container is started. Otherwise, when you restart a stopped container you don't have the database running.
This commit is contained in:
Jarek Radosz 2022-05-05 23:52:35 +02:00 committed by GitHub
parent 406493660d
commit e4054f040f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"settings": {
"search.followSymlinks": false
},
"postCreateCommand": "sudo /sbin/boot",
"postStartCommand": "sudo /sbin/boot",
"extensions": ["rebornix.Ruby"],
"forwardPorts": [9292],
"remoteUser": "discourse",