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)
This commit is contained in:
Mildred Ki'Lya
2017-02-15 18:28:50 +01:00
parent be5040e7a8
commit d170a523c3

View File

@@ -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