Hi, All:
     I face a problem when I'm using systemd. It's appreciate that someone
can give me some suggestion.
     I want to boot an app from systemd and this app's boot parameter is
gotten from /proc/cmdline.
     the boot logic of my app is:

     if boot_option = a
        ExecStart=myapp --parameter=value1
     else if boot_option = b
        ExecStart=myapp --parameter=value2

      how can I implement this logic in myapp.service ?

thanks
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to