Questions tagged [startupscript]
158 questions
25
votes
5 answers
Start up script for node.js repl
Is there a way configure node.js's repl? I want to require jquery and underscore automatically whenever the repl starts. Is there a file (noderc?) that node.js loads when it starts the repl?
The equivalent in Python is to edit…

hekevintran
- 22,822
- 32
- 111
- 180
20
votes
3 answers
How stop systemd service
I am trying to create systemd service file for Flume, have created /etc/systemd/system/flume-ng.service with following contents
[Unit]
Description=Apache Flume
[Service]
Environment=FLUME_CLASSPATH=/opt/flume/current/lib/
ExecStart=/usr/bin/nohup…

roy
- 6,344
- 24
- 92
- 174
14
votes
3 answers
Cygwin startup script
How can I run a script inside cygwin after it launches?
I want to automatically add some mounts and run other scripts inside cygwin whenever it starts. I see that in linux it is as simply as adding a shell file inside etc/init.d
However, i tried…

codiac
- 1,857
- 4
- 18
- 31
13
votes
3 answers
$PYTHONSTARTUP with python 2.7 and python 3.2
I finally started using python 3 alongside python 2.7 on Linux.
I setup my python shell using a startup-script defined by $PYTHONSTARTUP.
Due to incompatibilities I am unable to use the same script for both versions.
What is the easiest way to get…

mirk
- 5,302
- 3
- 32
- 49
9
votes
6 answers
Using ASDF to start Hunchentoot
I'm working on a web app using Hunchentoot (on SBCL and Linux), and usually I just run it from Emacs (SLIME), but for deployment I want something that's easier to automate. So I'm trying to figure out ASDF, because that seems to be what everybody's…

Ken
- 511
- 3
- 4
7
votes
2 answers
How do I add a python script to the startup registry?
I'm trying to make my python script run upon startup but I get the error message windowserror access denied, but I should be able to make programs start upon boot because teamviewer ( a third-party program I downloaded ) runs every time I restart my…

Baboon
- 307
- 3
- 6
- 14
7
votes
1 answer
Detect google compute instance startup script finished?
In Google Compute Engine, when starting a virtual machine, an operation is created. When the operation is done, the virtual machine is ready (or the operation could have a failed status).
However, my startup script (specified via startup-script-url)…

Jaap
- 3,081
- 2
- 29
- 50
7
votes
1 answer
startup-script not as root (google cloud compute, ubuntu 14.04 VM)
The default of the startup script is to run as root, I need to run the startup script as a specific user (the one used to create the image for the instance). I've tried all possible variations of su, etc, but when specifying that way, execution…

MikeN
- 71
- 3
7
votes
3 answers
.net - How do you Register a startup script?
I have limited experience with .net. My app throws an error this.dateTimeFormat is undefined which I tracked down to a known ajax bug. The workaround posted said to:
"Register the following as a startup…

mrjrdnthms
- 1,549
- 4
- 24
- 35
5
votes
1 answer
What's the right way to run startup task for Azure Virtual Machine
We are running node application in Azure Virtual Machine, meanwhile we also want to restart VM at some certain time with the help of Azure Automation (or via management portal).
But how can we restart the node application after VM restarted?
We…

Jerry Bian
- 3,998
- 6
- 29
- 54
4
votes
3 answers
Run Javascript After Page Load
I understand there are MANY posts on this, but I have tried every single one and none of them work!
I have an aspx and aspx.cs page being run using visual studio 2010.
on my aspx page I have a table