5 ms·
It's for the same reason that java has to be invoked as /usr/bin/env $JAVA_HOME/bin/java thus raising questions such as http://unix.stackexchange.com/quest
by JdeBP 11y ago
It's for the same reason that java has to be invoked as
/usr/bin/env $JAVA_HOME/bin/java
thus raising questions such as http://unix.stackexchange.com/questions/229523/ http://unix.stackexchange.com/questions/229523/ .
systemd does not permit variable expansions or unit parameters in the first word of ExecStart.
- simoncion 11y agoAssuming that your explanation applies to Spidler's situation, why not do ExecStart=/bin/sh -c "%i/webapp" rather than using a one-off wrapper? Does that wrapper ship with systemd?