diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-05-22 16:10:59 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-05-22 16:10:59 +0300 |
commit | 866f15ef6b42ecbc38f61eab47ab606d854aa5c9 (patch) | |
tree | 8e2b63bdf81946a403c1b4bed14348c01ed39a78 | |
parent | d9402b638d0e728e142083e546d543d73b672db8 (diff) |
inverterd.service: use EnvironmentFile to set options
-rw-r--r-- | systemd/inverterd.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/inverterd.service b/systemd/inverterd.service index 0718be7..a37870b 100644 --- a/systemd/inverterd.service +++ b/systemd/inverterd.service @@ -3,8 +3,9 @@ Description=inverterd After=network.target [Service] +EnvironmentFile=/etc/default/inverterd Restart=on-failure -ExecStart=/usr/local/bin/inverterd --host 0.0.0.0 +ExecStart=/usr/local/bin/inverterd $PARAMS [Install] WantedBy=multi-user.target |