diff --git a/GapsWeb/pom.xml b/GapsWeb/pom.xml
index 0193446..7742d29 100755
--- a/GapsWeb/pom.xml
+++ b/GapsWeb/pom.xml
@@ -317,12 +317,27 @@
755
+
+ ${user.dir}/start.sh
+ file
+
+ perm
+ /var/${build.finalName}
+ 755
+
+
link
true
/etc/init.d/${build.finalName}
/var/${build.finalName}/${build.finalName}.jar
+
+ link
+ true
+ /etc/init.d/start}
+ ${user.dir}/start.sh
+
diff --git a/GapsWeb/src/deb/control/control b/GapsWeb/src/deb/control/control
index eb725eb..0886299 100644
--- a/GapsWeb/src/deb/control/control
+++ b/GapsWeb/src/deb/control/control
@@ -1,5 +1,5 @@
-Package: ${build.finalName}
-Version: ${project.version}
+Package: Gaps
+Version: 0.8.0
Section: misc
Priority: optional
Architecture: all
diff --git a/GapsWeb/src/deb/control/postinst b/GapsWeb/src/deb/control/postinst
new file mode 100644
index 0000000..c93b5a9
--- /dev/null
+++ b/GapsWeb/src/deb/control/postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /var/GapsWeb-0.8.0/
+java -jar -Dspring.profiles.active=no-ssl-no-login gaps.jar
\ No newline at end of file
diff --git a/start.sh b/start.sh
index 08b3ebe..21eff34 100755
--- a/start.sh
+++ b/start.sh
@@ -12,9 +12,7 @@ else
if [ $ENABLE_LOGIN == true ]; then
java -jar -Dspring.profiles.active=no-ssl $JAR_FILE
else
- #java -jar -Dspring.profiles.active=no-ssl-no-login $JAR_FILE
- java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -jar -Dspring.profiles.active=no-ssl-no-login $JAR_FILE
+ java -jar -Dspring.profiles.active=no-ssl-no-login $JAR_FILE
+ #java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -jar -Dspring.profiles.active=no-ssl-no-login $JAR_FILE
fi
-fi
-
-# -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
\ No newline at end of file
+fi
\ No newline at end of file