[ci skip] use ps:restore on instance boot

This commit is contained in:
Michael Hobbs committed 2015-12-01 11:54:36 -08:00
1 parent 0606d1a805
commit 606036a50f
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