1 [Unit] 2 Description=Choose mirror from the kernel command line 3 ConditionKernelCommandLine=mirror 4 5 [Service] 6 Type=oneshot 7 ExecStart=/usr/local/bin/choose-mirror 8 9 [Install] 10 WantedBy=multi-user.target