#!/bin/sh

chown -R ${pkg.user}: ${pkg.logFolder}
chown -R ${pkg.user}: ${pkg.installFolder}

if [ $1 -eq 1 ] ; then
        # Initial installation
        systemctl --no-reload enable ${pkg.name}.service >/dev/null 2>&1 || :
fi
