Skip to content

Commit 1bce0c1

Browse files
author
Matthew Fisher
committed
Merge pull request #834 from deis/procfile-mandatory
feat(controller): make Procfile mandatory
2 parents 3db1590 + def8cb1 commit 1bce0c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _get_scheduler(self):
258258
def _get_command(self):
259259
c_type = self.type
260260
if c_type:
261-
return 'start {c_type}'
261+
return "cat Procfile | grep ^{c_type} | cut -f 1 -d ' ' --complement | sh -"
262262
else:
263263
return ''
264264

0 commit comments

Comments
 (0)