supports version string

This commit is contained in:
Stefan Allius
2023-10-01 21:26:53 +02:00
parent 64f573a369
commit 5377dd81c8

View File

@@ -2,10 +2,10 @@
set -e
user="$(id -u)"
echo "#############################################"
echo "# start: '$SERVICE_NAME'"
echo "######################################################"
echo "# start: '$SERVICE_NAME' Version:$VERSION"
echo "# with UserID:$UID, GroupID:$GID"
echo "#############################################"
echo "######################################################"
if [ "$user" = '0' ]; then
[ -d "/home/$SERVICE_NAME" ] && chown -R $SERVICE_NAME:$SERVICE_NAME /home/$SERVICE_NAME || true