upgraded to 15.04 init conf file doesn't work
The headline news this week is that Ubuntu version 15.04 doesn't use upstart. It uses systemd.
You can go back to upstart, which is a question all to itself; or you can write a systemd service unit for your service; or you can swipe an already-written one. There are plenty of already-written ones about.
This mbpfan.service
unit by Ismail Khatib has been around since 2012, for example. However, I recommend that you edit it to say
Type=simpleand
ExecStart=/usr/sbin/mbpfan -f
mbpfan
's "daemonization" is entirely superfluous (under both upstart and systemd); is not functionally correct in any case; and under systemd will also result in unnecessary duplicated log information, as systemd already records the log information that mbpfan
sends to its standard output.
Further reading
- "Boot and service management". Upstart version 15 release notes. 2015-04-24. Ubuntu.
- systemd.exec. systemd manual pages. Freedesktop.org.
- systemd.service. systemd manual pages. Freedesktop.org.