vincentbernat/wiremaps — Issue #9: /var/run/wiremaps is erased after a reboot
Author: tchich
Created: 2011-10-11 13:06:26+00:00
State: open

I have compiled the package with dpkg-buildpackage -rfakeroot and install it with sudo dpkg -i wiremaps_0~git20091001-1_amd64.deb . It is working, but there is a problem: /etc/init.d/wiremaps start doesn't launch the twisted. The problem come from /var/run/wiremaps, which don't exist.

II have add these two lines in wiremaps/debian/init.d :
@14
user=wiremaps
group=wiremaps
+mkdir -p /var/run/wiremaps/
+chown $user:$group /var/run/wiremaps/
pidfile=/var/run/wiremaps/wiremaps.pid

Seems to work.