/lib/systemd/system/ebtables.service is in ebtables 2.0.10.4-3.5ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [Unit]
Description=ebtables ruleset management
DefaultDependencies=no
Before=network-pre.target
Wants=network-pre.target
After=local-fs.target
# n.b. use below if we want to tear down rules before shutting down.
#Before=shutdown.target
#Conflicts=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/init.d/ebtables start
ExecStop=/etc/init.d/ebtables stop
ExecReload=/etc/init.d/ebtables reload
[Install]
WantedBy=multi-user.target
|