<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi, All:<br></div>     I face a problem when I'm using systemd. It's appreciate that someone can give me some suggestion.<br></div>     I want to boot an app from systemd and this app's boot parameter is gotten from /proc/cmdline. <br>



</div>     the boot logic of my app is:<br></div>     <br></div>     if boot_option = a<br></div>        ExecStart=myapp --parameter=value1<br></div>     else if boot_option = b<br></div>        ExecStart=myapp --parameter=value2<br>



    <br></div>      how can I implement this logic in myapp.service ?<br><br></div>thanks</div>