Re: Polluted login prompt

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



On 21/11/12 16:00, Sudaraka Wijesinghe wrote:
I start both Apache and MySQL services on boot, and both of them display
the start complete message after the login prompt.

Something like this:
Starting MySQL
Starting Apache
login: [ OK ] MySQL started
[ OK ] Apache started

Although this doesn't break anything it just doesn't look nice. (BTW,
I'm not using any DM and getty is set NOT to clear any boot messages)

I had this exact same problem with certain services spewing messages over my login prompt.

I solved it by adding a slight delay to the startup of the offending service.

That is, I created a file like this:

[Timer]
OnActiveSec=30

And saved it as /etc/systemd/system/multi-user.target.wants/httpd.timer.

See man systemd.timer for further info.

HTH



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux