Change cli options to env args
parent
956b4b504b
commit
d357e82e84
|
@ -8,8 +8,12 @@ After=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
User=chronograf
|
User=chronograf
|
||||||
Group=chronograf
|
Group=chronograf
|
||||||
|
Environment="HOST=0.0.0.0"
|
||||||
|
Environment="PORT=8888"
|
||||||
|
Environment="BOLT_PATH=/var/lib/chronograf/chronograf-v1.db"
|
||||||
|
Environment="CANNED_PATH=/usr/share/chronograf/canned"
|
||||||
EnvironmentFile=-/etc/default/chronograf
|
EnvironmentFile=-/etc/default/chronograf
|
||||||
ExecStart=/usr/bin/chronograf --host 0.0.0.0 --port 8888 -b /var/lib/chronograf/chronograf-v1.db -c /usr/share/chronograf/canned $CHRONOGRAF_OPTS
|
ExecStart=/usr/bin/chronograf $CHRONOGRAF_OPTS
|
||||||
KillMode=control-group
|
KillMode=control-group
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue