Tagged Questions
0
votes
0answers
10 views
Restart Upstart
I'm in the process of building a job to work in upstart, and any time I have even a typo the entire upstart breaks; not just my job. Is there any way to reload upstart without rebooting?
0
votes
1answer
23 views
Startup script for spawn-fcgi
I would like to use spawn-fcgi to start a web.py application on system boot. Is there any facility for managing spawn-fcgi through Upstart? (Is Upstart the modern system for managing services, or ...
3
votes
1answer
43 views
Can I use a custom shell with upstart script stanza?
I'm writing a few daemons implemented in pure shell script and would like to use zsh(powerful substitutions, modules with socket/tcp handling, etc) instead of the default /bin/sh. Can I tell the ...
0
votes
0answers
123 views
alternative of “chkconfig” command in Ubuntu 12.04 or lower
How to use chkconfig --list in Ubuntu .
It's asking for install this but I don't have privilege to install any package on the server and have to fix the issue.
As I am working with redhat/Centos, but ...
1
vote
0answers
52 views
declaring dependencies in upstart
It seems as if the accepted way to specify a dependency of service A on service B in upstart is to work in the reverse dependency direction: give service B a start on starting A stanza.
I'd like to ...
3
votes
1answer
203 views
How do I change the user Transmission runs under?
I installed Transmission through a PPA and the daemon starts on boot. I want to change the user that runs the daemon because I want the downloaded files to be under the same user as my XBMC ...
2
votes
1answer
419 views
How to add startup services?
I'm on 12.10 and I use Synergy to share my mouse between my laptop and desktop monitors. I tend to start the synergys daemon manually, but I'd like for it to start automatically after boot. Now I've ...
3
votes
2answers
104 views
What happens to manual Upstart services on shut down?
If using the manual keyword in an init or override Upstart script, it is not clear whether the services shut down process will be initiated or it will just be killed on shut down.
For instance, will ...
3
votes
3answers
465 views
Allow non-sudo group to control Upstart job
I'm trying to set up an Upstart job to run on system startup, and that can also be started/stopped by members of a group other than sudo. With a previous version, I usedupdate-rc.d and scripts stored ...
10
votes
2answers
2k views
How system services are started in 12.10?
One thing that always confused me in Ubuntu was how system services are started. I know that Ubuntu uses Upstart and supports SysV, but which one is used to start the services? This matters when you ...
2
votes
0answers
66 views
Quickly stop all network services except sshd (or boot with only sshd running)
I have an Ubuntu Server 12.04 box acting as a home file server. At times I would like to be able to brings down all my normal network services (nfs-kernel-server and friends, netatalk, nmbd, smbd, ...
1
vote
1answer
2k views
How can I disable avahi-daemon?
How can I disable avahi-daemon and can you explain to me how it runs if it appears as a service but it itsn't in rcN.d?
You can stop reading here. In fact, please do unless you want to TEACH a noob ...
3
votes
2answers
135 views
Why does service service_name status give different responses for different services?
Running the "service service_name status" command gives three different types of output when three different service_names are used. I tried with atftpd, apache2, and isc-dhcp-server, as shown below.
...
3
votes
1answer
390 views
How do I choose which way to enable/disable, start/stop, or check the status of a service?
If I want to start a system installed service, I can do:
# /etc/init.d/some-svc start
# initctl start some-svc
# service some-svc start
# start some-svc
If I want to disable a service from running ...
1
vote
1answer
423 views
How can I start SpiderOak automatically on a headless server?
I use SpiderOak for online backup and file synchronisation (a la Dropbox.) I'm running it on my headless server via the SpiderOak --headless command.
At the moment, I have to start this manually ...
3
votes
1answer
78 views
.override file isn't working
I have a file /etc/init/boinc-client.override with the single line manual that I use to prevent the BOINC client from starting up. (I don't want it hogging CPU time away from Folding@Home, for now ...
3
votes
1answer
215 views
How to start up rsyslog automatically?
Check current status of rsyslog
$ chkconfig --list rsyslog
rsyslog 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Start up rsyslog at some levels
$ sudo chkconfig --level 35 ...
1
vote
3answers
176 views
How do I start certain services only when needed?
I have a laptop. I use it for web+email a lot, and then some days for web development. Using it for the latter, I need apache2 and mysql server running, but normally I do not.
I'd like a normal boot ...
2
votes
1answer
2k views
user upstart job in ~/.init/ is not found
Running 12.04, I have the following upstart job in ~/.init/:
# myjob
start on net-device-up
stop on [!12345]
script
echo ">> hello from user script" >> ~/tmp/upstart.log
end script
...
4
votes
1answer
608 views
Python service using Upstart on Ubuntu
I want to create to deploy a heartbeat service (a python script) as a service using Upstart.
My understanding is that I've to add a /etc/init/myheartbeatservice.conf with the following contents.
# ...
0
votes
1answer
1k views
how to add/edit parameters for a startup service (/etc/init.d/)
I have installed pure-ftp server but i had problems logging into it with virtual users.
I managed to diagnose the problem: it's the incomplete default parameter specification. This is how the script ...
1
vote
2answers
366 views
Upstart not running my dynamic DNS script
I have a dynamic DNS script as follows:
#!/bin/bash
curl -kL# "http://example.com/updatedns.php"
echo $? >> /var/log/ddns
...saved to /usr/local/bin/ddns. Obviously the URL above isn't the ...
2
votes
0answers
51 views
Is there an rcconf equivalent for upstart that works on the command line? [duplicate]
Possible Duplicate:
How to start, stop, restart a service
While I'm a big fan of upstart I would like to see a rcconf tool that can manage both traditional sysv services as well as upstart ...
1
vote
1answer
1k views
How do I get Upstart to start my Mediatomb service?
I've been struggling, trying to get my Mediatomb server to start automatically on Upstart run level 2. I can't figure it out. I guess Upstart is still new to me and I don't understand it. I even ...
5
votes
2answers
531 views
Upstart not executing the exec function in upstart.conf
I have a completed upstart conf file loaded here: http://pastebin.com/5E7J5jEY but I'm having trouble with the upstart not executing the exec function and/or relinquishing the kernel console CLI back ...
4
votes
2answers
7k views
How to start jenkins?
I installed jenkins via sudo apt-get install jenkins. However, it doesn't start up. Tried to start it manually using sudo /etc/init.d/jenkins start. But it says this message when I try to start it ...
9
votes
2answers
1k views
How do I set up a service?
I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
1
vote
1answer
519 views
Not able to start juggernaut server as a background processs/service
I am using ruby on rails application to implement chat. I am not able to setup juggernaut server in production mode.
I followed this guide to setup redis. and its working perfectly fine.
Then I ...
2
votes
2answers
4k views
How can I do chkconfig like in Fedora? [duplicate]
Possible Duplicate:
Chkconfig alternative for Ubuntu Server?
In Fedora I can do
$ chkconfig --list | grep ssh
Note: This output shows SysV services only and does not include native
...
8
votes
2answers
28k views
How to start and stop a service? [duplicate]
Possible Duplicate:
What’s the recommended way to enable / disable services?
Are there any other command to start stop restart service in ubuntu other than the below following.
service ...
2
votes
1answer
253 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 ...
3
votes
2answers
162 views
How to keep a graphical application running, even if it crashes?
I use Gnome Do as a launcher for most things. I have it set to run on login and for most of the time it sits in the background waiting for me to mash a keyboard shortcut. About once a week, it falls ...
7
votes
1answer
3k views
Want to make an upstart script; need help and advice
Atm, I need to randomly start and stop (for lack of a better word in my mind) a job. I start it by typing java -jar foo.jar and to stop it find out its pid and kill it. Killing it doesn't cause any ...
131
votes
6answers
118k views
What's the recommended way to enable / disable services?
I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them.
The first method I found is update-rc.d to add new services to startup, ...
3
votes
1answer
240 views
Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server
I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
5
votes
3answers
3k views
Auto-start service on bootup that depend on network
I have a particular service (in this case OpenFire) that runs at startup. When it starts, it attempts to connect to a database at a given hostname. At startup time it fails to connect to that ...
17
votes
2answers
3k views
Is there any GUI tool for Upstart
Is there currently any GUI based application to show currently running services, with buttons to start and stop services?
It doesn't necessarily need to be able to set boot up behaviour.
32
votes
2answers
19k views
What's the difference between “Service” and “/etc/init.d/”?
I've been managing server installations both on and off Ubuntu flavor for some time - I've become quite adjusted to /etc/init.d/ for restarting servcies. Now I get this message:
root@tatooine:~# ...
