summaryrefslogtreecommitdiffstats
path: root/units/systemd-network-generator.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-29 17:58:00 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-29 19:30:09 +0200
commite2e05a0e4ab9bdff9df2b198808b2d3227af1f41 (patch)
tree17cee027107415eef1cb823e5dc104f7b532d250 /units/systemd-network-generator.service.in
parentnetwork-generator: rename generated unit files (diff)
downloadsystemd-e2e05a0e4ab9bdff9df2b198808b2d3227af1f41.tar.xz
systemd-e2e05a0e4ab9bdff9df2b198808b2d3227af1f41.zip
unit: rename initrd-network-generator.service -> systemd-network-generator.service
Diffstat (limited to 'units/systemd-network-generator.service.in')
-rw-r--r--units/systemd-network-generator.service.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/units/systemd-network-generator.service.in b/units/systemd-network-generator.service.in
new file mode 100644
index 0000000000..e314aded9b
--- /dev/null
+++ b/units/systemd-network-generator.service.in
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# 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=Generate network units from Kernel command line
+DefaultDependencies=no
+Before=network-pre.target
+
+[Service]
+Type=oneshot
+ExecStart=@rootlibexecdir@/systemd-network-generator
+
+[Install]
+WantedBy=network-pre.target