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:
@@ -5,7 +5,7 @@ After=systemd-networkd.service
|
|||||||
Requires=systemd-networkd.service
|
Requires=systemd-networkd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/mgmt run ${OPTS}
|
ExecStart=/usr/bin/mgmt run $OPTS
|
||||||
RestartSec=5s
|
RestartSec=5s
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user