Tagged Questions
1
vote
0answers
23 views
Where is Unity startup script in rc?.d
I've been reading about runlevels and startup scripts lately, and I've learnt that runlevels 2 to 5 are the same in Ubuntu, and that Ubuntu's default runlevel is 2.
What I want to do
I want to ...
0
votes
1answer
330 views
Rc.local does not execute
I am PXE booting some Ubuntu machines in a cluster. All of a sudden my rc.local script has stopped working.
I've check the permission of /etc/rc.local:
-rwxr-xr-x 1 root root 1087 Jan 14 11:04 ...
0
votes
1answer
312 views
How do I delay Upstart's net-device-up signal until a condition is met?
I need to wait for a specific condition to be met a network interface is considered "up". Upstart is sending its net-device-up signal before this condition is met, which cases the scripts that depend ...
0
votes
1answer
266 views
Start command doesn't return for upstart script in Ubuntu?
I have written an upstart script called 'ts.conf' for a daemon and put it in /etc/init. When I try to start it with
start ts
I expect a confirmation message and I also expect to get the prompt ...
1
vote
1answer
148 views
How to user interact during boot using upstart? [duplicate]
Possible Duplicate:
Upstart script: Detect shift key down at boot
I want to add a question during boot. The user is supposed to make keyboard inputs and depending on those inputs, there is ...
2
votes
1answer
249 views
Have a parameter applied to service for Upstart
I want to run my webcit service with the -f option, how do I put that in the service script (/etc/init.d/webcit)?
The lines that look relevant are:
RUNDIR=/var/run/webcit
...
2
votes
4answers
2k views
Upstart script for a transmission-daemon executed as a normal user
I have done a script to start transmission-daemon as a normal user:
start on filesystem
stop on runlevel [!2345]
respawn
respawn limit 10 5
pre-start script
test -x /usr/bin/transmission-daemon ...
4
votes
1answer
689 views
Starting a service from /etc/event.d works, but not from /etc/init
I'm trying to launch an upstart service on Ubuntu 8.04 from /etc/init/, but I always get start: Unknown job: job. When I try to launch this script from /etc/event.d/ it works fine. Why would this be ...
6
votes
5answers
5k views
Upstart script doesn't start
Ubuntu 10.04
I have created this upstart script (/etc/init/pure-ftpd.conf):
# pure-ftpd - FTP server
description "Pure-FTPd server"
start on filesystem
stop on runlevel S
respawn
respawn limit ...
4
votes
3answers
1k views
Upstart, one job definition to start and one to stop
Hi i just discoverd ubuntu upstart (etc/init/* scripts).
And i would like to use it to run a particular application.
This app is run via a command line, but there is an argument to start an instance ...
