summarylogtreecommitdiffstats
path: root/debloat@.service
diff options
context:
space:
mode:
Diffstat (limited to 'debloat@.service')
-rw-r--r--debloat@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/debloat@.service b/debloat@.service
new file mode 100644
index 000000000000..8bd1a84d1dd4
--- /dev/null
+++ b/debloat@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=debloat interface %I
+Wants=network.target
+After=network.target
+BindsTo=sys-subsystem-net-devices-%i.device
+After=sys-subsystem-net-devices-%i.device
+
+[Service]
+Type=oneshot
+Environment="IFACE=%I"
+ExecStart=/usr/lib/debloat/debloat.sh
+
+[Install]
+WantedBy=multi-user.target