summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2017-01-26 11:17:59 -0200
committerDenis Costa <deniscostadsc@gmail.com>2017-01-26 11:27:06 -0200
commitaf10ac9186e763dc4bf943ae429464fedff4d729 (patch)
tree0094124fed12f1f53a8f162296a02897189e31f5 /debian
parentd9e9c8cd0c47ceb1883e7215dfcea055be391d96 (diff)
[#918] Adds scritp to restart pixelated-server
After upgrading Pixelated User Agent package this script will restart the server in order to have the newest code running.
Diffstat (limited to 'debian')
-rw-r--r--debian/pixelated-user-agent.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/pixelated-user-agent.postinst b/debian/pixelated-user-agent.postinst
new file mode 100644
index 00000000..cae1ae01
--- /dev/null
+++ b/debian/pixelated-user-agent.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+systemctl restart pixelated-server