inverterd.service: use EnvironmentFile to set options
This commit is contained in:
parent
d9402b638d
commit
866f15ef6b
@ -3,8 +3,9 @@ Description=inverterd
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
EnvironmentFile=/etc/default/inverterd
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ExecStart=/usr/local/bin/inverterd --host 0.0.0.0
|
ExecStart=/usr/local/bin/inverterd $PARAMS
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user