[Unit] Description=Choose mirror from the kernel command line ConditionKernelCommandLine=mirror [Service] Type=oneshot ExecStart=/usr/local/bin/select-mirror [Install] WantedBy=multi-user.target