Ciao,

> Sto scrivendo alcuni unit file per alcuni servizi custom.
> Siccome a priori non so dove verranno installati questi sevizi volevo
scrivere qualcosa del genere
> 
> ExecStart=${srvpath}/srv start

La pagina di manuale systemd.service parla chiaro: «the first argument
must be an absolute path to an executable». E poi, nella sezione
"command lines", aggiunge «Note that the first argument (i.e. the
program to execute) may not be a variable.»

Ciao,
Giuseppe

Rispondere a