[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Using absolute path for ExecStart in espeakup.service



Hi,

According to the below message and to (1, 'execstart=') the command
'ExecStart' should use a fully qualified path when 'execstop=' is not
specified.

"[/lib/systemd/system/espeakup.service:12] Executable path is not
absolute, ignoring: sh -c 'modprobe speakup_soft && /usr/bin/espeakup -V
${VOICE}'
espeakup.service: Service lacks both ExecStart= and ExecStop= setting.
Refusing."

Appending '/bin/' to the start of the line solves this issue ('/bin/sh
-c ...').

Observed on Debian Stretch.

1, 'execstart=')  "For each of the specified commands, the first
argument must be either an absolute path to an executable or a simple
file name without any slashes. Optionally, this filename may be prefixed"

1)  https://www.freedesktop.org/software/systemd/man/systemd.service.html


Note that this e-mail is folded by my mailer.

-- 
John Doe


Reply to: