Questions tagged [autostart]

A mechanism to start automatically a script or program as soon as the operating system or execution environment that executes it is ready.

In general terms, autostart is mechanism whereby a script or program is started automatically as soon as the operating system or execution environment that executes it is ready. The script or program to execute typically needs to be registered in some list of autostart programs.

A typical example of autostart feature is the , which starts a program on a medium as soon as the medium (such as CD or USB key) is inserted in the reading device.

Use this tag for questions about implementations of an autostart feature, or issues with autostarting a particular program.

507 questions
116
votes
9 answers

Android Starting Service at Boot Time , How to restart service class after device Reboot?

I need to start a service at boot time. I searched a lot. They are talking about Broadcastreceiver. As I am new to android development, I didn't get a clear picture about services on Android. Please provide some source code.
harish
  • 1,755
  • 6
  • 22
  • 36
70
votes
6 answers

Disable autostart of docker-compose project

I have a docker-compose project using Docker for Mac that autostarts when I boot the computer. I usually start the project with docker-compose up -d, but even running docker-compose stop before shutting down autostarts it again on boot. I am not…
Harald Nordgren
  • 11,693
  • 6
  • 41
  • 65
68
votes
4 answers

How to install and start a Windows Service using WiX

I tried to use the code below in Wix. But when installing, the installer was freezing for like 3 minutes on status: Starting services, then I got this message "Service Jobservice failed to start. Verify that you have sufficient privileges to start…
Ray
  • 1,893
  • 7
  • 22
  • 24
58
votes
11 answers

How to check MIUI autostart permission programmatically?

I need to check programmatically if the auto start permission for my app in MIUI phone is on or off. Facebook and whatsapp have this permission already enabled by default , how can I do so?
49
votes
9 answers

How make mysql start automatically ? (linux-cli only)

How can i make mysql start every time the system boot ? I need that in a dedicated server(ubuntu distro) in which i have my blog, but every time the server goes down, on booting mysql is stopped. Btw i can use only command line.
vasilakisfil
  • 2,279
  • 4
  • 24
  • 31
47
votes
11 answers

mysql service fails to start/hangs up - timeout (Ubuntu, MariaDB)

I set up my first Ubuntu Server with Ubuntu 16.04, nginx, php7.0, MariaDB, nextcloud and external DynDNS using this tutorial here: Install Nextcloud 9 on Ubuntu 16.04 Everything worked fine but since I restarted the server the next day, nextcloud…
Lw Bi
  • 549
  • 1
  • 4
  • 8
33
votes
6 answers

How to programmatically enable auto start and floating window permissions

How can I enable auto-start permission programmatically? How to find which phone need to do auto-start code? How to check if the auto start permission is enable or disable? I am able to find only about Display popup permission with…
Sagar
  • 5,273
  • 4
  • 37
  • 50
32
votes
2 answers

How to stop redis-server autostart

I am using Ubuntu to develop my website. Recently, I started to use redis. When I started my computer, redis-server will start by its own. What method can I stop my redis-server starting by itself?
LiJung
  • 7,649
  • 6
  • 27
  • 30
26
votes
3 answers

How to enable AutoStart option for my App in Xiaomi phone Security App programmatically in android

My App is working with good remarks in all mobile except MI. Because MI restricting my App background service to run. After enabling App in Autostart in Security, it working perfectly. So can I enable that AutoStart Option for my app in MI Security…
Shamili Rani
  • 345
  • 1
  • 4
  • 12
20
votes
3 answers

Remove tomcat autostart

When I run ubuntu, the tomcat server I have installed runs automatically and I have to switch it off manually. I want tomcat not to start automatically on boot. How to disable tomcat's startup on boot?
ddelizia
  • 1,571
  • 5
  • 30
  • 54
19
votes
4 answers

Add my app to AutoStart apps list in android programmatically

I want my app to be in the autostart list after installation. I know when I install an app like (whatsapp) it goes automatically to the autostart list. I want my app to be the same I tried the code in this question How to Autostart an Android…
asmgx
  • 7,328
  • 15
  • 82
  • 143
18
votes
8 answers

Add application launch shortcut in Eclipse?

I've been programming Android in Eclipse for about a year now and I have always launched my app by right clicking on my project name in the project explorer, followed by "run as", then "Android Application". There has to be a better way... Is there…
Brad Hein
  • 10,997
  • 12
  • 51
  • 74
16
votes
1 answer

How to properly autostart an asp.net application in IIS10

I'm trying to get my ASP.NET application to automatically start whenever the application pool is running. As per the lots and lots of references online I have already done the following: Set the Application Pool to StartMode=AlwaysRunning Set the…
Robba
  • 7,684
  • 12
  • 48
  • 76
16
votes
4 answers

Firing a SharePoint Workflow by updating a list item through List Webservice

I am developing, a simple SharePoint Sequential Workflow which should be bound to a document library. When associating the little workflow to a document library, I checked these options Allow this workflow to be manually started by an…
Johannes Hädrich
  • 1,223
  • 1
  • 12
  • 20
16
votes
4 answers

AutoStart/Pre-warm features not working in IIS 7.5 / WCF service

For testing the many headaches of IIS/WCF implementation from scratch, I built the HelloWorld service and client walked through (very nicely) here. I added endpoints for net.tcp, and the service is working properly end-to-end for both bindings under…
downwitch
  • 1,362
  • 3
  • 19
  • 40
1
2 3
33 34