Skip to content

Commit

Permalink
update service file example; cannot use env variable in launch path
Browse files Browse the repository at this point in the history
Signed-off-by: Karl W. Schulz <[email protected]>
  • Loading branch information
koomie committed Jul 29, 2024
1 parent 630543e commit d384e67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions omnistat.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d384e67

Please sign in to comment.