diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6e97338ac384bbef0dd06d1c8a05960a6c534a66..c10b27d81c34646bd78983b041819d4a8fa919f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ build-deb:
   stage: build
   before_script:
     - *before-script
-    - apt update && apt install -y build-essential debhelper devscripts equivs dh-virtualenv libffi-dev
+    - apt update && apt install -y build-essential debhelper devscripts equivs dh-virtualenv libffi-dev dh-systemd
   script:
     - ./build-deb.sh
     - mkdir build
diff --git a/debian/control b/debian/control
index b0beddef6eaf571072b182b99cfa5f82757cbdb2..20ff549d92aa2256d92960dc5af9380bc5c6eb2c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: documento-printserver
 Section: python
 Priority: extra
 Maintainer: Jonathan Weth <dev@jonathanweth.de>
-Build-Depends: debhelper (>= 10), python3, dh-virtualenv (>= 1.0),
+Build-Depends: debhelper (>= 10), dh-systemd (>=1.5), python3, dh-virtualenv (>= 1.0),
     python3-setuptools, python3-pip, python3-dev, libffi-dev
 Standards-Version: 4.5.0
 Homepage: https://edugit.org/documento/documento-printserver
diff --git a/debian/documento-printserver.service b/debian/documento-printserver.service
new file mode 100644
index 0000000000000000000000000000000000000000..198c96502a6efb37a4a20ca26c2e6de033ced0e0
--- /dev/null
+++ b/debian/documento-printserver.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Documento Printserver
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/documento-printserver
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 83ba5db0074afbf7ba14122135cffc5cb745e428..a5433a1d9e2358b72d9727a4cd5f6f7d9e8cedcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python-virtualenv
+	dh $@ --with python-virtualenv,systemd
 
 override_dh_virtualenv:
 	dh_virtualenv --python python3 --extra-pip-arg "--no-deps" --use-system-packages