The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
11 views

Does systemd honour KILL order from chkconfig

Title of the question is just what I needed to ask. I don't see it actually following that. Is there a way, in which I can make systemd follow the KILL order. From what I see, it just reverses the ...
1
vote
0answers
52 views

How to create additional start up script for one service

I installed the package 'gearman-job-server' in Ubuntu server. it creates start up script by default as /etc/init/gearman-job-server.conf. But I want to add more command to same service. So created my ...
1
vote
1answer
172 views

Tell if a process is under systemd, init.d or Upstart control

Is it possible to reliable tell for a given Linux process if it was launched or is still supervised by an init.d script, Upstart or systemd ?
2
votes
1answer
1k 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 ...
0
votes
2answers
1k 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
180 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
25 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 ...
2
votes
3answers
1k 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 ...
3
votes
1answer
5k 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 ...