2013/11/19 David Timothy Strauss <da...@davidstrauss.net>: > On Wed, Nov 20, 2013 at 2:18 AM, Marcos Felipe Rasia de Mello > <marcos...@gmail.com> wrote: >> ConditionFileIsExecutable=/usr/sbin/hdparm > > It seems sketchy to me to put the executable in ExecStart into > ConditionFileIsExecutable. Is it supposed to fail silently when hdparm > is missing?
If hdparm is not preset, unit will enter a failed state. ExecStart command prefixed with "-" will prevent this, but still I prefer the service to not run at all in this case. In my first attempts, I forgot to install hdparm. ;) -- Marcos _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel