chiark / gitweb /
draft initd status support
[userv.git] / debian / postinst
1 #!/bin/sh
2 set -e
3 update-rc.d userv defaults 19 50 > /dev/null
4
5 if command -v invoke-rc.d >/dev/null 2>&1; then
6     invoke-rc.d userv start
7 else
8     /etc/init.d/userv start
9 fi