Questions tagged [startupscript]

158 questions
4
votes
1 answer

How can I make Forever run Node.js script on startup?

I am running forever for my node.js which is great, but when the server restarts I have to rerun the command. Are there any suggestions on how to make it so on reboot or start up, forever automatically launches the script. Lets say its forever…
Frankie B
  • 41
  • 1
  • 2
3
votes
1 answer

Need help making a Python script starup on mac using Launch Agent and send output to a window

I've created a python script I wish to have run automatically when I log in on a mac, and need some help using a Launch Agent to do this. I used SO extensively getting things working up to this point, so I figured this was the place to ask, but I'm…
Thursdays Coming
  • 1,002
  • 13
  • 28
3
votes
4 answers

Octave- How to automatically execute commands on startup

I'm new to octave, and want to run a few commands on startup automatically every time it opens. I typed "help startup" and saw "Octave uses the file ".octaverc". I did a bit of searching online at https://www.math.utah.edu/docs/info/octave_4.html,…
EnigmaticBacon
  • 353
  • 6
  • 21
3
votes
1 answer

Supervisor command won't start Chromium

EDIT: Apparently the script DOES run, but it just doesn't start my browser. Still don't know why tho. I'm trying to use supervisor to run commands/scripts, but I don't seem to be able to get it to work. I got the idea of the Pi_Video_looper that…
Lonefish
  • 647
  • 2
  • 11
  • 32
3
votes
2 answers

How do I write pid to file

I know this could be easy, but I am unable to figure out. We want to run two instances of luigi on one machine so need to modify init.d script to write PID to file rather than just touching empty file. echo -n $"Starting luigid scheduler as…
roy
  • 6,344
  • 24
  • 92
  • 174
3
votes
1 answer

Make IPython use my original startup script

I had set up a startup.py script for python that imported the commonly used modules like re, os and sys. Ipython however does not seem to run it at startup because trying to use one of the modules raises an error.
Plakhoy
  • 1,846
  • 1
  • 18
  • 30
2
votes
1 answer

Interrupt handling while using CMake to build STM32 firmware

I debug STM32 project created with CMake. It uses HAL library and at the beginning I configure HAL and SysTick. root/ ├─ core/ │ ├─ core.c │ ├─ core.h │ ├─ stm32g4xx_it.c │ ├─ stm32g4xx_it.h │ ├─ CMakeLists ├─ main.c ├─ startup.s ├─…
VIPPER
  • 326
  • 4
  • 24
2
votes
3 answers

Long running java process

I have inherited a java system which should be run in the background on a Linux server. The directions call for it to be started java -jar start.jar. This seems a little too fragile for my liking. I'd like it to actually run in the background,…
Michael
  • 8,446
  • 4
  • 26
  • 36
2
votes
1 answer

Create private network with Terraform with starting script - Google Cloud Platform

starting with Terraform recently with GCP, I would like finish a exercice: Create a new VPC network with a single subnet. Create a firewall rule that allows external RDP traffic to the bastion host system. Deploy two Windows servers that are…
minh-hieu.pham
  • 1,029
  • 2
  • 12
  • 21
2
votes
3 answers

How to autostart XAMPP and Laravel project in Windows

I need to setup my Laravel application and XAMPP locally in Windows so that it can be accessed from multiple PCs in my local network. I've set it up successfully, but now I want to autostart my Laravel application and XAMPP when Windows is started.
Inversemaha
  • 61
  • 1
  • 10
2
votes
1 answer

How to set PYTHONSTARTUP script for Intellij/PyCharm

I tried adding the PYTHONSTARTUP environment variable: I also tried a custom starting script: But even more surprisingly - this also did not work (the npa alias was not recognized): Out of a bit of desperation I even tried adding to the…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
2
votes
1 answer

Powershell script with REST API call does not run at Startup

I have a Powershell script that invokes a REST API call to get a cert from a server. The script runs just fine if I trigger it manually from the machine. However, when I setup the script to run at Start using the steps here:…
user2611581
  • 166
  • 2
  • 15
2
votes
0 answers

Network Access As Local System Running Exe From Network Share

I am running a Dotnet 3.5 executable in Windows 7 Ent, as a GPO computer startup script in a domain. The script resides on a network share. The exe is run as Local System. The exe runs correctly. I would like to access a web Service in this exe,…
2
votes
2 answers

Startup script only executing after instance reboot

we have a startup-script that is working fine, but it only gets executed after reboot. i'm updating gcutil to gcloud compute and centos6 to centos7. I'm not sure if this has something to do with security issues (SElinux?). Can someone please help me…
brdido
  • 351
  • 1
  • 3
  • 12
2
votes
2 answers

Simple startup on boot of misc application (Java based) on Ubuntu Linux 8+ as a daemon

What is the easiest way to have an application launch at startup on Ubuntu server as daemon? This is a java application (java com.run.run.Run) etc. How would I have it launch as a user and possibly have access to write to some log file where the…
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
1
2
3
10 11