Jump to content

brenndorfler

Members
  • Posts

    3
  • Joined

  • Last visited

  1. I installed the fhem.deb-Package and did an update via the fhem-program itself. This package comes still with SysV init -Script. Thanks for the hint, the init-script is really a good place to create the folder and set the permissions. My /etc/init.d/fhem looks now like: case "$1" in 'start') echo "Starting fhem..." [ -d /var/run/fhem ] || { mkdir -p /var/run/fhem; chmod a+w /var/run/fhem; } Thanks! brenndorfler
  2. Sorry, I only mentioned it in the topic title: It is Debian 8 / Jessie ... Yes, I understand that a tmpfs is empty by default and that it is populated early in the boot-process. But: Where/How is this task normally configured?
  3. Hi, I'm using the Igor-Image: Linux cubieboard2 4.0.5-cubietruck #12 SMP Thu Jun 11 19:18:02 CEST 2015 armv7l GNU/Linux I installed a program that is using a PID-file, normally under: /var/run/fhem/fhem.pid I created a sub-folder and changed the owner and permissions. With the next reboot, all changes where lost. I noticed that the /var/run is linked to /run and this is a tmpfs. So, is there an option to add a subdirectory permanently to /run? Alternatively I will add a short script, that will do these operations after reboot, but in my opinion, that is not the fancy way... greets brenndorfler
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines