But that should be done in postinst:
129 # Force virtlockd to reexec if enabled
130 if [ -d /run/systemd/system ]; then
131 ! systemctl is-active -q virtlogd || systemctl reload virtlogd.service >/dev/null
132 ! systemctl is-active -q virtlockd || systemctl reload virtlockd.service >/dev/null
133 fi
Hmm, doing a reload manually gave me
Process: 10228 ExecReload=/bin/kill -USR1 $MAINPID (code=exited, status=0/SUCCESS)
Obviously as intended the main PID doesn't change.
I wonder if something makes it skip those maintscript portion that is supposed to do that.
But that should be done in postinst:
129 # Force virtlockd to reexec if enabled
130 if [ -d /run/systemd/system ]; then
131 ! systemctl is-active -q virtlogd || systemctl reload virtlogd.service >/dev/null
132 ! systemctl is-active -q virtlockd || systemctl reload virtlockd.service >/dev/null
133 fi
Also see https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 833745 which added it a long time ago.
Hmm, doing a reload manually gave me /bin/kill -USR1 $MAINPID (code=exited, status=0/SUCCESS)
Process: 10228 ExecReload=
Obviously as intended the main PID doesn't change.
I wonder if something makes it skip those maintscript portion that is supposed to do that.