diff --cc Makefile
index 5f317a3,073f4fb..1813d44
--- a/Makefile
+++ b/Makefile
@@@ -69,11 -71,14 +71,19 @@@ install
@echo "To add the script to the default runlevels, run the following as root:"
@echo "chkconfig --level 2345 mbpfan on && chkconfig --level 016 mbpfan off"
@echo ""
+ @echo "For upstart based init systems (Ubuntu), an example upstart job has been"
+ @echo "provided for use in place of the LSB-style init script. To use, execute"
+ @echo "as root:"
+ @echo "cp mbpfan.upstart /etc/init/mbpfan.conf"
+ @echo "start mbpfan"
+ @echo "As a special bonus, a service file for systemd is also included. To use it,"
+ @echo "execute the following as root:"
+ @echo "cp mbpfan.service /usr/lib/systemd/system"
+ @echo "ln -s /usr/lib/systemd/system/mbpfan.service /etc/systemd/system/mbpfan.service"
+ @echo "systemctl daemon-reload"
+ @echo "systemctl start mbpfan.service"
+ @echo "To start the service automatically at boot, also execute the following:"
+ @echo "systemctl enable mbpfan.service"
@echo "-----------------------------------------------------------------------------"
rebuild: clean all
Fixed conflicts in Makefile
90e6378af69c70b58dd1fd6be8fff899699a98d2
Daniel Graziotin <dgraziotin@task3.cc> · 2012-08-22T14:04 ·
browse files at this commit