On Wed, Jul 09, 2014 at 05:31:57PM +0200, Michael Biebl wrote: > So, try to guard your restarts like this: > > === > if [ -d /run/systemd/system ]; then > systemctl list-jobs | grep -q network.target && exit 0 > fi > service shorewall restart > service shorewall6 restart > ===
This did the trick! (and I quite like the fact that it will work properly both with and without systemd running) Thanks a lot for your guidance, Cheers. -- Stefano Zacchiroli . . . . . . . z...@upsilon.cc . . . . o . . . o . o Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o Former Debian Project Leader . . @zack on identi.ca . . o o o . . . o . « the first rule of tautology club is the first rule of tautology club »
signature.asc
Description: Digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers