tavern/scripts/postinst

17 lines
252 B
Bash
Executable File

#!/bin/sh
set -e
if which systemctl > /dev/null; then
systemctl daemon-reload || :
systemctl enable tavern || :
systemctl start tavern || :
else
echo "Couldn't find systemd to control tavern, cannot proceed."
exit 1
fi
#DEBHELPER#
exit 0