summaryrefslogtreecommitdiff
path: root/units/network-pre.target
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-11 11:33:02 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-11 12:14:55 +0200
commita4a878d04045b46fa9783664e3643a890b356790 (patch)
tree81ef7da979c37ff517e98b301c7b0697e2b98324 /units/network-pre.target
parent4196a3ead3cfb823670d225eefcb3e60e34c7d95 (diff)
units: introduce network-pre.target as place to hook in firewalls
network-pre.target is a passive target that should be pulled in by services that want to be executed before any network is configured (for example: firewall scrips). network-pre.target should be ordered before all network managemet services (but not be pulled in by them). network-pre.target should be order after all services that want to be executed before any network is configured (and be pulled in by them).
Diffstat (limited to 'units/network-pre.target')
-rw-r--r--units/network-pre.target12
1 files changed, 12 insertions, 0 deletions
diff --git a/units/network-pre.target b/units/network-pre.target
new file mode 100644
index 0000000000..0ea4bc739a
--- /dev/null
+++ b/units/network-pre.target
@@ -0,0 +1,12 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Network (Pre)
+Documentation=man:systemd.special(7)
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
+RefuseManualStart=yes