summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/lib/systemd/user/tails-i2p-removal-notify-user.service
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/lib/systemd/user/tails-i2p-removal-notify-user.service')
-rw-r--r--config/chroot_local-includes/usr/lib/systemd/user/tails-i2p-removal-notify-user.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/lib/systemd/user/tails-i2p-removal-notify-user.service b/config/chroot_local-includes/usr/lib/systemd/user/tails-i2p-removal-notify-user.service
new file mode 100644
index 0000000..b630960
--- /dev/null
+++ b/config/chroot_local-includes/usr/lib/systemd/user/tails-i2p-removal-notify-user.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Warn the user that I2P will be removed
+ConditionKernelCommandLine=i2p
+
+[Service]
+Type=oneshot
+ExecStart=/usr/local/lib/tails-i2p-removal-notify-user
+RemainAfterExit=yes
+
+[Install]
+WantedBy=desktop.target