On 01/08/2016 09:41 AM, Marc Haber wrote: > On Wed, 06 Jan 2016 00:03:31 +0100, Philipp Kern <pkern@debian.org> > wrote: >> On 2016-01-04 11:30, Marc Haber wrote: >>> On Sun, 3 Jan 2016 22:30:24 +0100, Eric Valette <eric.valette@free.fr> >>> wrote: >>>> System admins do like using absolute path >>>> for security reasons... >>> Please also notice that this is the only option for ExecStart in >>> systemd units. Well played, Lennart. >> >> Similarly skeleton-based init scripts use the full path as well. It >> helps if you can stat() it. Which, I guess, you could by extension by >> using "which" and the like. > > In init scripts, I can do that. In a systemd unit, I cannot. ExecStart=/bin/sh -c "something" Regards, Christian
Attachment:
signature.asc
Description: OpenPGP digital signature