#!/bin/sh

CGRP=`id -gn`

if [ "x$CGRP" = "xszbase" ]; then
	/usr/bin/env python /opt/szarp/lib/python/filler2/filler2-launcher.py "$@"
else
	sudo -n -g szbase /usr/bin/env python /opt/szarp/lib/python/filler2/filler2-launcher.py "$@" || exit 1
fi
