summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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