honored the environment variable $OPTIONS during the execution

This commit is contained in:
Jordi Sanfeliu 2019-06-25 08:03:21 +02:00
parent 66c5c25b32
commit 417cb9a39d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ After=multi-user.target
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/monitorix
ExecStart=/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid
ExecStart=/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid $OPTIONS
PIDFile=/run/monitorix.pid
[Install]