diff --git a/scripts/autoboot.sh b/scripts/autoboot.sh
new file mode 100644
index 000000000..eb16d5817
--- /dev/null
+++ b/scripts/autoboot.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+su git -c "/home/git/gogs/scripts/gogs_supervisord.sh restart"