Merge pull request #1808 from dokku/josegonzalez-patch-2

Fix path to dokku-installer
This commit is contained in:
Jose Diaz-Gonzalez
2015-12-31 05:47:04 -05:00

View File

@@ -48,7 +48,7 @@ def check_boot():
f.write("Description=Dokku web-installer\n")
f.write("\n")
f.write("[Service]\n")
f.write("ExecStart=#{File.absolute_path(__FILE__)} selfdestruct\n")
f.write("ExecStart={0} selfdestruct\n".format(os.path.abspath(__file__)))
f.write("\n")
f.write("[Install]\n")
f.write("WantedBy=multi-user.target\n")