Initial commit

This commit is contained in:
root
2020-03-20 02:25:33 +01:00
commit d5d35b3e0f
11 changed files with 131 additions and 0 deletions

28
debian/postinst vendored Executable file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
case "$1" in
configure)
npm --prefix /opt/turnserverauth/ install hmacsha1
systemctl daemon-reload
systemctl --now enable turnserverauth.service
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0