Hello,

if I would like to restart a daemon in a maintainerscript after
dpkg-reconfigure is there a downside of simply using

invoke-rc.d foo restart

instead of something like

if [ -d /run/systemd/system ]; then
        # systemd
        deb-systemd-invoke restart foo.service
else
        # SysV
        invoke-rc.d foo restart
fi

TIA, cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply via email to