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

Fix path to dokku-installer
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-12-31 05:47:04 -05:00
commit a0c4f1fc1f
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ def check_boot():
f.write("Description=Dokku web-installer\n") f.write("Description=Dokku web-installer\n")
f.write("\n") f.write("\n")
f.write("[Service]\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("\n")
f.write("[Install]\n") f.write("[Install]\n")
f.write("WantedBy=multi-user.target\n") f.write("WantedBy=multi-user.target\n")