I've recently upgraded to 15.04. On 14.10 I had a conf file which would start a program on upstart. On 15.04 that doesn't work and the program won't start.
This is the .conf file:
# mbpfan - A simple daemon to control fan speed on all Macbook/Macbook Pros \
# (probably all Apple computers) for Linux 3.x.x
description "mbpfan"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
respawn
umask 022
console log
exec /usr/sbin/mbpfan -f
I install everything like with the following commands:
sudo cp mbpfan.upstart /etc/init/mbpfan.conf
sudo start mbpfan
Which gives me the error:
start: Unable to connect to Upstart: Failed to connect to socket
/com/ubuntu/upstart: Connection refused
Why doesn't this work and what changes do I need to make for it to start mbpfan on boot?