I'm on Ubuntu Mate, and I would like the system to run the command homebridge
at boot.
Do I just need to
sudo nano /etc/rc.local
and add this
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
homebridge
exit 0
/etc/rc.local
, so that post needs an updated answer I think – Zanna Jan 22 '17 at 11:55rc.local
andcron
. – earthmeLon Jan 22 '17 at 19:03rc.local
– muru Jan 23 '17 at 03:26/lib/systemd/system/rc.local.service
and I am not sure how we are supposed to manage now. (My thought was from No `rc.local` in 16.10, so how can I add a command to set brightness on boot? ) So I still think we need an update to the dupe target. – Zanna Jan 23 '17 at 05:10/etc/rc.local
and make it executable – Zanna Jan 23 '17 at 06:38exit 0
to it so that failed commands don't cause boot to hang or fail) – muru Jan 23 '17 at 06:39