From 866f15ef6b42ecbc38f61eab47ab606d854aa5c9 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 22 May 2021 16:10:59 +0300 Subject: inverterd.service: use EnvironmentFile to set options --- systemd/inverterd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'systemd/inverterd.service') 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 -- cgit v1.2.3