From d170a523c3cbaa8df89e8ba8d16340420979bed9 Mon Sep 17 00:00:00 2001 From: Mildred Ki'Lya Date: Wed, 15 Feb 2017 18:28:50 +0100 Subject: [PATCH] misc: Split OPTS variable of systemd unit Systemd split variables when specified like $VAR and not when specified like ${VAR}. Since OPTS must contain multiple options, we must ensure systemd will split it. See also systemd.service(5) --- misc/mgmt.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/mgmt.service b/misc/mgmt.service index 40054c0b..34207b67 100644 --- a/misc/mgmt.service +++ b/misc/mgmt.service @@ -5,7 +5,7 @@ After=systemd-networkd.service Requires=systemd-networkd.service [Service] -ExecStart=/usr/bin/mgmt run ${OPTS} +ExecStart=/usr/bin/mgmt run $OPTS RestartSec=5s Restart=always