Merge pull request #1735 from progrium/mh-replace-restartall-with-restore

use ps:restore on instance boot
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-12-01 15:36:21 -05:00
commit 63867d4abe
1 file changed
+2 -2
+2 -2
View File
@@ -20,7 +20,7 @@ start on filesystem and started docker
script script
sleep 2 # give docker some time sleep 2 # give docker some time
sudo -i -u dokku /usr/local/bin/dokku ps:restartall sudo -i -u dokku /usr/local/bin/dokku ps:restore
end script end script
EOF EOF
;; ;;
@@ -34,7 +34,7 @@ After=docker.target
[Service] [Service]
Type=simple Type=simple
User=dokku User=dokku
ExecStart=/usr/local/bin/dokku ps:restartall ExecStart=/usr/local/bin/dokku ps:restore
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target