LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-04-2016, 12:58 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Add delay to some startup applications


I want to speed up my startup process by putting a 20 second delay for these.

If I do so, I can shave off over a minute.

However, none are listed in Startup Applications Preference.


Code:
  21.290s udev-configure-printer@-devices-pci0000:00-0000:00:13.2-usb2-2\x2d5.service
         18.094s mysql.service
         16.449s apt-daily.service
         15.094s apache2.service
         14.245s udev-configure-printer@-devices-pci0000:00-0000:00:13.2-usb2-2\x2d4.service
 
Old 10-04-2016, 08:33 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
Because they are processes or daemons, not desktop application, my guess is that their startup is managed by your init system.

I don't know, though, whether Ubuntu has completed the switch from upstart to SystemD.
 
Old 10-05-2016, 09:48 AM   #3
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,135

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
yes those are systemd services. Ubuntu went systemd in 15.04 I think.
 
Old 10-05-2016, 12:19 PM   #4
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I installed boot up manager and disabled two systemd services. mysql.service and apache2.service

Bootup time is about 30 seconds faster.
 
Old 10-05-2016, 03:14 PM   #5
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I would like to disable these and restart them after reboot.
I think I need to use systemctl start the services.

But I can not understand how I need to use it for my case.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Packet Delay at Connection Startup AzraelShade Linux - Networking 1 08-03-2009 05:59 AM
Double-click delay not honored by some applications buchs Linux - Desktop 0 07-09-2009 09:40 AM
Why cant I install applications? on Add/Remove Applications totaldisaster Ubuntu 2 04-13-2008 01:02 AM
How to add applications to run at startup psteege Debian 2 01-22-2006 06:34 PM
why does eth01 fail on startup and delay startup? infantpenguin Linux - Newbie 3 01-28-2005 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration