Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: sm8ps on October 08, 2017, 04:13:35 PM

Title: acpid should start daemon
Post by: sm8ps on October 08, 2017, 04:13:35 PM
Upon loading acpid, its associated start script is not automatically triggered. On dCore-xenial this is achieved via
Code: [Select]
sudo service acpid startIs it possible to include this functionality somehow?
Title: Re: acpid should start daemon
Post by: Jason W on October 08, 2017, 04:32:50 PM
Usually I like to let the user determine which services they want to start automatically on boot by putting them in /opt/bootlocal.sh.  Especially things like ssh.  But as the Debian postinst script for acpid does start the process though the postinst script though we had to use our own dCore startup script instead, I will make the dCore startup script start it upon extension loading. 
Title: Re: acpid should start daemon
Post by: Jason W on October 09, 2017, 12:50:52 PM
A note on the service command, it is not in dCore base but in the package init-system-helpers, which depends on perl-base.   In the dCore startup script I used the below command -

/etc/init.d/acpid start
Title: Re: acpid should start daemon
Post by: sm8ps on October 10, 2017, 02:42:23 AM
Thanks for these explanations! I fully agree with your point of view about starting (network) services.