summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorThais Siqueira <thais.siqueira@gmail.com>2017-02-06 11:11:03 -0200
committerThais Siqueira <thais.siqueira@gmail.com>2017-02-06 15:07:54 -0200
commit55e2f707fabc01735d0c185ded6682219ba0c555 (patch)
tree4c241fac384447b6daeb678e231962f53b4cf3f3 /debian
parent15725dc3eea9b7389ee22d406094bb7d22af1364 (diff)
Revert "[#918] Reverts the postinstall script"
This reverts commit 98abd30f1ecf7c8d6ef3d5ecce90396a2868a1fc.
Diffstat (limited to 'debian')
-rw-r--r--debian/pixelated-user-agent.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/pixelated-user-agent.postinst b/debian/pixelated-user-agent.postinst
new file mode 100644
index 00000000..729f46ac
--- /dev/null
+++ b/debian/pixelated-user-agent.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+if [ -d /run/systemd/system ]; then
+ systemctl -q is-active pixelated-server.service && systemctl restart pixelated-server.service
+fi