#!/bin/bash

ENV_LOG=$LOG
eval $(grep ^LOG= /etc/default/dejsem)
DEF_LOG=${LOG:-/var/log/dejsem.log}

[[ $(tty) == "not a tty" ]] && exec >>${ENV_LOG:-$DEF_LOG} 2>&1

ACT=SRV exec /usr/lib/dejsem/main.py $p


