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)
14 lines
280 B
Desktop File
14 lines
280 B
Desktop File
[Unit]
|
|
Description=Run mgmt configuration management
|
|
Documentation=https://github.com/purpleidea/mgmt/
|
|
After=systemd-networkd.service
|
|
Requires=systemd-networkd.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/mgmt run $OPTS
|
|
RestartSec=5s
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|