On Fri, 12.09.14 13:04, lux-integ (lux-in...@btconnect.com) wrote: > I will stick with the tried and tested bash scripts for iptables > then try something like > > ExecStart=/bin/sh -c " path/to/IptablesScript" > > inside a servce file > > will this suffce ?
Yes. However, the "/bin/sh -c" thing is unnecessary. Just set the +x bit on the script, add the she-bang to the first line and call it directly. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel