WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: acpid should start daemon  (Read 2868 times)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
acpid should start daemon
« 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?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: acpid should start daemon
« Reply #1 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. 

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: acpid should start daemon
« Reply #2 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

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: acpid should start daemon
« Reply #3 on: October 10, 2017, 02:42:23 AM »
Thanks for these explanations! I fully agree with your point of view about starting (network) services.