summaryrefslogtreecommitdiff
path: root/debian/pixelated-user-agent.postinst
blob: 1e6ee23ea649daa3a9480cc989fc5d8277335ea9 (plain)
1
2
3
4
5
6
7
8
9
#!/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

exit 0