1
vote
2answers
314 views

Why isn't one 'bash' command working at startup

I am working on a VM with Lubuntu 14.04, I have created a script a.sh, #!bin/bash echo "aaaa" >> a.txt And my /etc/rc.local file is as follows: #!/bin/sh -e # # rc.local # # This script is ...
1
vote
1answer
27 views

Using upstart for non-daemon tasks

I would like to have foo do-startup-things run on boot, and foo do-shutdown-things run on shutdown where foo is my own program. It looks like Upstart is a good candidate to do this, but Upstart seems ...
1
vote
2answers
62 views

Running a python scrip using startup

I am trying to get a simple python code that I have to run in the background at startup, and stay running. The best option that I have found so far is to use Upstart. I wrote the following .conf file ...
1
vote
2answers
123 views

Run a custom init script always before lightdm.conf

I have a firstboot script /etc/init/firstboot.conf which starts on "filesystem". This file creates some symlinks to some libs in /usr/lib Issue is , /etc/init/lightdm.conf also starts on ...
3
votes
2answers
127 views

How To Run An Application On Startup Automatically?

I am using "UbuntuServer13.10" and I have Dynamic IP. So for learning purpose, I want to add a host on my dynamic IP to open my server easily from anywhere. For this purpose, I used www.noip.com ...
0
votes
0answers
113 views

Best way to ensure a VPN connection starts (and hopefully remains)

Ok, trying again :) I tried to find the answer to this on my own, and that led me to the first suggestion in this topic... which, through a Series of Unfortunate Events, let me to hours and hours ...
1
vote
0answers
371 views

Changing a start up init.d script to use with new ubuntu

This is my code. I would like to change it to use with new versions of ubuntu. The thing is ubuntu doesn't have chkconfig any more. Also I heard that new ubuntu uses upstart instead of init type start ...
0
votes
0answers
14 views

I have to open recovery every time

When starting my computer, I see every time purple screen and caps lock blinking. I have to power-off It and open recovery , select root in menu and write reboot after I could get a normal booting. ...
0
votes
1answer
103 views

Limit the parallelisation of Upstart?

If I understand right, Upstart runs all tasks that are ready to run in parallel. However, is there a way to limit the amount of parallelisation? That is, the number of parallel tasks that are run ...
1
vote
0answers
241 views

Run Mono Application on Startup Ubuntu

I need run a c# Windows Forms application (Mono app) on Ubuntu startup, then I trying use Upstart. I run this application fine manually, but when I use the Upstart script, as follow: description ...
0
votes
1answer
239 views

Upstart job not starting

Can someone help me with a startup script not starting? I started it with initctl start startupScript, and it works fine. But it wont start at startup (= virtualbox, and mount, doesnt execute). I need ...
1
vote
1answer
466 views

Upstart - Bluepill not starting without sudo

I have an upstart service to start bluepill (Ruby gem to monitor processes). The upstart config is below. description "Start up the bluepill service" start on runlevel [2] stop on runlevel [016] ...
0
votes
1answer
106 views

Hide desktop startup screen

I am working on a hardware device running on Ubuntu. One of the most important features is good presentation - in my case not showing the OS startup screen etc. Currently I am using upstart to start ...
10
votes
1answer
3k views

What are all the autostart locations in Ubuntu?

I'm a Ubuntu newbie in need of some advice from anyone very familiar with the different Ubuntu startup methodologies. I'm interested in enumerating all the applications that are triggered at startup ...
1
vote
1answer
189 views

Am I using upstart correctly?

I'm trying to write a startup script for my Ubuntu 12.04 desktop that pings my Netgear router every 30 seconds (this is necessary as a nasty workaround for a separate problem I'm having). I read this ...
1
vote
1answer
316 views

Startup script doesn't execute at startup

I have followed the tutorial here that shows how to setup the No-ip update program to start at system startup. I have done exactly as specified here, yet the program still doesn't start. Also, when I ...
0
votes
2answers
671 views

Has behaviour of upstart changed in 13.04

I have an upstart conf that mounts a remote nfs at startup. Previously (in 12.10) it used start on (local-filesystems and net-device-up IFACE=eth0) in 13.04 this no longer works - I tried all ...
1
vote
1answer
388 views

Start and stop parameters in init script

I have .conf a file in /etc/init/ with this code at the bottom: start on (started network-interface or started network-manager or started networking) stop on (stopping ...
2
votes
1answer
2k 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
248 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 ...
5
votes
1answer
3k 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 ...
0
votes
2answers
5k views

Squid3 fails to start on boot

Squid3 does not start automatically on boot, in some cases. I have start it manually with sudo service squid3 start. Any reason why?
4
votes
1answer
1k 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 ...
3
votes
1answer
335 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 ...