diff --git a/omnistat.service b/omnistat.service index 391aedbf..06f426af 100644 --- a/omnistat.service +++ b/omnistat.service @@ -6,11 +6,10 @@ After=network-online.target [Service] User=omnidc -Environment="OMNISTAT_DIR=/home/omnidc/omnistat" Environment="OMNISTAT_CONFIG=/home/omnidc/omnistat/omnistat/config/omniwatch.default" CPUAffinity=0 +ExecStart=/home/omnidc/omnistat/omnistat-monitor SyslogIdentifier=omnistat -ExecStart=${OMNISTAT_DIR}/omnistat-monitor ExecReload=/bin/kill -HUP $MAINPID TimeoutStopSec=20s SendSIGKILL=no