Ahenk/debian/postinst
İsmail Başaran 3ccb1d1d05 ahenk service
2016-02-01 17:00:34 +02:00

29 lines
424 B
Bash

#!/bin/sh
# postinst script for ahenk
#
# see: dh_installdeb(1)
set -e
case "$1" in
configure)
systemctl --system daemon-reload
systemctl enable ahenk.service
update-rc.d ahenk defaults
/etc/init.d/ahenk start
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0