Package: ippl
Version: 1.4.14-13

Hello,

the bug#390154 was reintroduced in 1.4.14-13 by not creating $RUNDIR

I'm attaching patch that fixes this behaviour, modified to use "$RUNDIR" variable.

In addition, start-stop-daemon now uses "$CONFFILE" intead of hardcoded file name

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Chernobyl was an Windows 95 beta test site.
--- /etc/init.d/ippl.orig	2021-12-23 13:41:09.000000000 +0100
+++ /etc/init.d/ippl	2023-07-31 15:37:26.775493992 +0200
@@ -150,7 +150,7 @@
 
 start () {
   if ! check_started; then
-      start_daemon -p $PIDFILE $DAEMON -c /run/ippl/ippl.conf
+      start_daemon -p $PIDFILE $DAEMON -c "$CONFFILE"
       ret=$?
   else
     log_failure_msg "already running!"
@@ -181,6 +181,8 @@
   fi
 }
 
+[ -e "$RUNDIR" ] || \
+  install -d -oDebian-ippl -gDebian-ippl -m755 "$RUNDIR"
 
 case "$1" in
   start)

Reply via email to