The upstart tag has no wiki summary.
0
votes
1answer
9 views
Passing in parameters to Upstart
I can do
mongod -f /etc/mongodb.conf
How do I achieve the same effect when starting mongodb as a service? ie
sudo service start mongodb
By default this does not read from the config file.
I ...
0
votes
1answer
29 views
service vsftpd restart : not working
I edited /etc/vsftpd.conf on my remote server. Now to restart the vsftpd, I ran
ravbholua@ravi:~$ sudo /etc/init.d/vsftpd restart
[sudo] password for ravbholua:
Rather than invoking init scripts ...
3
votes
2answers
55 views
How to disable a daemon process on RHEL 6.3 like SMF does on Solaris
This problem has been bugging me for a while, we have a program running on Solaris, which managed as a service well by SMF, can be enabled/disabled very easily.
Now, according to our market, we would ...
3
votes
2answers
54 views
Why are there both, an Upstart script and an init.d script, for several daemons? [closed]
I am running Ubuntu 12.04.3 LTS and installed several services like Samba, DHCP server, ...
I receive the following warning when I run "halt now", "telinit 6" or similar:
Since the script you are ...
3
votes
0answers
39 views
Upstart reload does not work
On a virtualised Ubuntu, I used the command
$ foreman export upstart /etc/init -f Procfile -e conf/development.env -u ubuntu -a my_app -t upstart
And can now start my_app using
$ sudo start my_app
...
2
votes
0answers
85 views
exit code of grep in trap where the script is launched by upstart service
recently I encountered a problem in ubuntu upstart and trap in bash shell.
I use ubuntu 12.04
the upstart script(/etc/init/player.conf) is:
start on (local-filesystems and runlevel [2345])
stop on ...
2
votes
2answers
42 views
How to associate a script at boot time to a specific run level?
I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
1
vote
0answers
24 views
How to specify a daemon shutdown command with upstart?
In an upstart configuration how do I define what command should be used to shutdown a server. Lets say I have daemon that has two seperate processes.
startup.sh - to start the server
shutdown.sh ...
2
votes
0answers
19 views
How to create an upstart process in Ubuntu? [duplicate]
I am trying to create a process to be automatically started and maintained by Ubuntu's upstart (Ubuntu 12.04). I have been looking at this page as well as on this page and I am aware of the upstart ...
2
votes
2answers
207 views
How to start a service automatically, when Ubuntu starts?
I am using Ubuntu 12.04 and want to have a service starting, when the system is booted normally.
As 'service' I understand some code, for example
cd my_directory; my_command -host 0.0.0.0 -port ...
3
votes
2answers
88 views
Silencing all stdout during bootup
I am looking for a completely silent bootup of my Ubuntu Server 13.04 installation (dumped to file rather than stdout). What I want is the screen to be blacked out (eventually replaced with a logo) ...
2
votes
1answer
50 views
Running services without sudo
I want to run a nodeJS web server on a couple of machines which I don't have sudo access on. What would be a good way to do this?
The two requirements are:
running the service without being ...
1
vote
2answers
1k views
Cannot get rc.local to automatically run at all
so I've been trying to get the /etc/rc.local script to run, and for the life of me, nothing seems to work. I can run it manually by using service rc.local start, and it just echos 'hi' to a file in my ...
1
vote
0answers
125 views
Upstart Job as Unprivileged user fails with permission denied
I'm trying to set up a Sage Cell Server (an open source mathematical engine) running as an unprivileged user. I've created the unprivileged user sagecell to do the job. It is installed correctly and, ...
1
vote
0answers
109 views
How to manage 2 vm using upstart?
I use an upstart script to monitor a vm and respawn it when it gets killed. I would like to simulate a failover by doing the following. Create a clone of the VM1 say VM2. When either of them is ...
4
votes
2answers
4k views
What's the status of Upstart on Debian?
I know that this question has already got asked before, but it's pretty old and things have changed (probably).
Already in 2009 the news rumbled, that Debian was going to switch to Upstart. You were ...
4
votes
1answer
472 views
is upstart and supervisord used for the same thing?
I have a some jvm based processes that I need to make sure start whenever my server is rebooted, and also if it stops because of an unexpected error etc.
I'm running Ubuntu 12.04 in case in matters.
...
1
vote
0answers
22 views
Upstart script produces folder with question mark at the end. Why? [duplicate]
Possible Duplicate:
Bash/Korn shell script edited on Windows throws error ‘…^M: not found’
I'm writting an Upstart job to run Postgresql:
description "PostgreSQL 9.1 Server"
author ...
9
votes
5answers
7k views
Ubuntu12.04: How to disable a daemon process at startup
I normally use service start/stop or initctl start/stop to start or stop a daemon process but now what I am looking for is to disable a daemon process from starting at startup example mysqld.
...
1
vote
0answers
119 views
Upstart: How to respond to startup of a service, thats not part of Upstart?
I'm running Ubuntu server and playing around with Upstart. I have installed PostgreSQL database server which doesn't use Upstart system, however im also writting an Upstart script that starts another ...
3
votes
2answers
231 views
Upstart: How to run a “stop” before stopping other services?
I recently found out about the upstart "service starter" that Ubuntu is using and that is (apparently) the future to start/stop jobs in Linux.
It's pretty new to me (I was used to the old SysV system ...
2
votes
1answer
210 views
How to keep upstart installed-always, don't be replaced by sysvinit?
Each time I do apt-get dist-upgrade, the package sysvinit comes back and replaced upstart. Well, I have some scripts written for upstart, and I need to reinstall it every time (typing the annoying ...
3
votes
2answers
1k views
Chkconfig on Linux Mint 12 giving tons of errors
I'm trying to disable some services from starting at boot time on my Linux Mint 12 laptop.
So I installed chkconfig, which has worked great for me before on Fedora.
However, on Linux Mint 12, it gives ...
0
votes
0answers
405 views
upstart-udev-bridge is using 100% CPU (and a known fix doesn't help)
I'm running Linux Mint 12 on a Latitude D630 and every time I start my laptop (and sometimes when I come back from being suspended), top shows that upstart-udev-bridge is using 100% CPU (and if I do ...
1
vote
0answers
261 views
How is upstart's socket activation used?
Upstart has gained the ability to start a process after a socket is accessed, but I found the feature to be poorly documented. How is a socket-activated daemon and upstart config written?
3
votes
3answers
572 views
linux launch script /etc/init with a specific user
I've created a script in /etc/init/mms-agent.conf :
start on runlevel [2345]
stop on runlevel [06]
exec /usr/bin/env python /home/mms/mms-agent/agent.py >> /home/mms/agent.log 2>&1
...
1
vote
2answers
2k views
Changing user in a script?
I am trying to change user in order to execute a specific command during startup. It fails silently and apparently the userchange isn't carried out as I can tell that the command isn't executed.
What ...
3
votes
2answers
1k views
Running a bash script as a less privileged user with upstart
This is the script, /home/jack/myscript.sh, which I want to run:
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.26/
/home/jack/myapp/apache-tomcat-6.0.32/bin/./catalina.sh run
The upstart file, ...
4
votes
1answer
175 views
Upstart - when a given event occurs, in what order are the jobs run?
I am using Ubuntu 10.04.3, and am using upstart as the init daemon (pretty sure this is the default).
When a given event occurs, in what order are the jobs run? Specifically, I'm referring to jobs ...
4
votes
3answers
3k views
Is it possible to export env variable via Upstart?
I need to export a variable FOO=stringhere so that system processes could use it. And the place I would like to do this, is Upstart job.
Unfortunately, I tried as per Upstart manual to do env ...
4
votes
5answers
244 views
How to disable graphical shell?
I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
14
votes
2answers
6k views
Upstart on Debian?
I created an upstart script in Ubuntu, thinking it would be the same for Debian. But Debian doesn't have a /etc/init folder that Ubuntu has. I went to the upstart download page and seeing that they ...
45
votes
5answers
17k views
What are the pros/cons of Upstart and systemd?
It appears systemd is the hot new init system on the block, same as Upstart was a few years ago. What are the pros/cons for each? Also, how does each compare to other init systems?