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

Re: linuxlogo systemd




> * В строке "ExecStart=-/sbin/agetty" имеется подозрительный символ в
> виде минуса. Зачем он?

Это вы мне скажите, у вас должно быть так же:

% grep ExecStart /lib/systemd/system/getty@.service
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
 
ExecStart=: This specifies the full path and the arguments of the command to be executed to start the process.
This may only be specified once (except for "oneshot" services). 
If the path to the command is preceded by a dash "-" character, non-zero exit statuses will be accepted
without marking the unit activation as failed.

--
С уважением,
Константин Матюхин

Reply to: