The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
12 views

Why would “git clone” fail in an Ubuntu startup script?

I have a startup script that clones a git repository. If I execute it manually /etc/init.d/bootstrap.sh it successfully clones. If I use the Ubuntu initialization process sudo ...
0
votes
0answers
14 views

Automatically stop init.d script dependencies?

How to automatically stop the init.d/* script's dependencies before the script itself stops? The sequence in which the scripts a started at boot time is calculated basing on the Required-Start: and ...
0
votes
0answers
50 views

Non-standard Debian init.d script causes loop with monit?

I downloaded noip.com's updater client (for dynamic DNS). It comes with a Debian init.d script - but without LSB-compliant headers. Now, if I try to update-rc.d noip2 defaults (the script is at ...
1
vote
1answer
220 views

Upstart: chdir stanza VS cd command

In Upstart script I can use chdir stanza to set the working directory. Also I can just execute a normal cd command inside my script section. What is the difference between this two approaches? When ...
-2
votes
1answer
118 views

How can I create a /etc/init.d/ script easily?

I usually just copy some existing script like /etc/init.d/ssh, remove extra things and edit remaining things. This is not very convenient. Is there a simple tool to create good Debian initscripts? ...
2
votes
1answer
93 views

s3cmd fails to run from an init-script

I created an init-script that should push some log files using s3cmd to an Amazon S3 bucket when the system is going down. s3cmd is installed and s3cmd --configure was run as user root and the ...
0
votes
0answers
21 views

LSB Init script not executed [duplicate]

I've created an LSB compatible init script which I intend to use to push some log files to an Amazon S3 bucket when the system is going down but it doesn't get executed. Here is the script contents ...
1
vote
3answers
462 views

Why would a shutdown script NOT run?

I have installed a shutdown script on an Ubuntu system which doesn't get executed. It is an Amazon EC2 instance. I'm not sure it has to do with this fact just wanted to point it out. The script ...
2
votes
1answer
2k views

Bash script to wait for Virtualbox VM shutdown?

Virtualbox has the ability to issue a command to a running vm: vboxmanage controlvm NameOfRunningVM acpipowerbutton However this command returns immediately which results in non-graceful shutdown ...