#!/bin/bash exec >> $SNAP_COMMON/hook.log 2>&1 echo "$(date '+%Y-%m-%d %H:%M:%S') $0: Entering hook" # read wekan config . $SNAP/bin/config # settings were altered by user, safest way to get them applied is to restart service