Questions tagged [startup]

Startup usually refers to the processes or events that occur at the start of a program, at the beginning of execution of a code block, or when a device is first booted.

2846 questions
19
votes
1 answer

How to get a Greasemonkey script to run both at @run-at document-start AND at @run-at document-end?

For my Greasemonkey script, there is part of the code that should run before the page is loaded (@run-at document-start) and another part of the code that should run after the document is loaded (@run-at document-end). Is this possible? 1st part of…
Azevedo
  • 2,059
  • 6
  • 34
  • 52
18
votes
3 answers

Elastic search error: "Native controller process has stopped - no new native processes can be started"

I pulled the elastic search image from docker and tried to run it using docker command but it didn't work. I got the following error: ERROR: [1] bootstrap checks failed [1]: the default discovery settings are unsuitable for production use; at…
saivishal vangala
  • 183
  • 1
  • 1
  • 7
18
votes
3 answers

Start mongod service at system startup

I recently updated mongodb, and I run Linux Mint (an Ubuntu based system) and every time I start it up, i cannot use Robomongo because the service mongod is not automatically started; every time I need to open up a terminal and use sudo service…
Don Diego
  • 1,309
  • 3
  • 23
  • 46
17
votes
5 answers

What makes WPF application startup slow?

I noticed that WPF application startup is sometimes pretty slow. Does anybody know if the the cause is the elements initialization or DLLs loading or something else?
Andy
  • 1,153
  • 4
  • 13
  • 33
17
votes
2 answers

Terraform GCP startup script local file instead of inline

Lots of examples exist online that show how to run a startup script on a VM deployed on GCP/GCE with Terraform, but they all use inline startup scripts, with all the startup script code included in the terraform compute.tf file. This is done either…
Keith Wiley
  • 683
  • 2
  • 6
  • 14
17
votes
3 answers

How to automatically load settings in R on OSX? How to find R_HOME, configure Rprofile.site, etc?

I have a Macintosh and I am trying to automatically load packages, homemade functions, and use modified setting every time I start R. I believe this can be done with a file called Rprofile.site, and by creating the functions .First and .Last in that…
Michael
  • 1,537
  • 6
  • 20
  • 42
17
votes
1 answer

Set that a program has to run at startup from an installer

I've a C# .net 4 application, I'm starting to create the installer. The installed program works fine, but my customer want that the application start with window(it's an "Always of top" toolbar which help them to manage their call). I thought to…
J4N
  • 19,480
  • 39
  • 187
  • 340
17
votes
1 answer

Where can I put a startup script in Jupyter?

I'm looking for a way to put my startup script in Jupyter. In IPython, I put it under the $IPYTHON_DIR/profile_default/startup/. In Jupyter, it seems that the config file should be $JUPYTER_CONFIG_DIR/jupyter_notebook_config.py. However, I would…
Blaszard
  • 30,954
  • 51
  • 153
  • 233
17
votes
6 answers

UWP app start automatically at startup

All is in the title, I currently searching a way to launch my UWP app automatically at Windows startup with the UWP framework only, no file manipulation on the machine. The application must be able to be shared on the Store AND open when Windows…
scbj
  • 225
  • 1
  • 2
  • 12
17
votes
1 answer

Startup script with systemd in Linux

Can I do This start up service below, there are no errors showing once run, but the server script below does not run! ln /lib/systemd/aquarium.service aquarium.service systemctl daemon-reload systemctl enable aquarium.service systemctl start…
Ossama
  • 2,401
  • 7
  • 46
  • 83
16
votes
5 answers

Run a script on Windows startup without a user logged on

This is a Windows 2003 (or later) machine that gets switched on every morning, but no one logs on until some hours later. I want to use the time in between to run a backup script c:\script\backup.cmd How can I start this unattended after the machine…
Karl Thorwald
  • 341
  • 1
  • 4
  • 15
16
votes
1 answer

postgresql can not start after change the data_directory

I use postgresql on Debian. The postgresql service can not start after I edit the config file: #data_directory = '/var/lib/postgresql/9.4/main' # use data in another directory data_directory = '/opt/data/postgresql/data' (yeah,I just…
Billy Yang
  • 357
  • 4
  • 14
15
votes
3 answers

override OnStartup in WPF

For some reason I can't get this to work at all. I have read from various sources that I can override OnStartup in a WPF application and it will fire off as the App is created. However, no matter what I do, nothing is happening. Here is the…
A.R.
  • 15,405
  • 19
  • 77
  • 123
15
votes
5 answers

Can I have an android activity run only on the first time an application is opened?

OK, so I'm playing around with an android app. The 90% use case is that users want to go straight to the primary list screen to find what they're looking for. That's what I want as my default screen. The first time a user loads the app however,…
The Trav
  • 1,955
  • 3
  • 22
  • 30
15
votes
2 answers

add a start up item via command line (mac)

How can I add a start up item via command line on a mac? From googling, I know you have to edit ~/Library/Preferences/com.apple.loginitems.plist using defaults write com.apple.loginitems [key] [value] but i'm not sure exactly which things to edit.
nightfire
  • 815
  • 2
  • 12
  • 22