summaryrefslogtreecommitdiffstats
path: root/debian/systemd.links
diff options
context:
space:
mode:
Diffstat (limited to 'debian/systemd.links')
-rw-r--r--debian/systemd.links27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/systemd.links b/debian/systemd.links
new file mode 100644
index 0000000..234a097
--- /dev/null
+++ b/debian/systemd.links
@@ -0,0 +1,27 @@
+# These are all services which have native implementations
+# So we mask them by linking against /dev/null or create an alias
+/usr/lib/systemd/system/systemd-sysctl.service /usr/lib/systemd/system/procps.service
+
+/usr/lib/systemd/system/systemd-modules-load.service /usr/lib/systemd/system/kmod.service
+/etc/modules /etc/modules-load.d/modules.conf
+
+# X server and ICE socket directories are created by /usr/lib/tmpfiles.d/x11.conf
+/dev/null /usr/lib/systemd/system/x11-common.service
+
+# Don't set the hwclock, as the kernel does that on its own when using NTP
+# Without NTP, we shouldn't store the time either
+# https://github.com/systemd/systemd/commit/da2617378523e007ec0c6efe99d0cebb2be994e1
+/dev/null /usr/lib/systemd/system/hwclock.service
+
+# We use the built-in cryptsetup support
+/dev/null /usr/lib/systemd/system/cryptdisks.service
+/dev/null /usr/lib/systemd/system/cryptdisks-early.service
+
+# Enable Debian specific units
+/usr/lib/systemd/system/getty-static.service /usr/lib/systemd/system/getty.target.wants/getty-static.service
+
+# Compat symlink
+/usr/lib/systemd/systemd /usr/bin/systemd
+
+# Create a compat symlink as systemd-sysctl no longer reads /etc/sysctl.conf
+/etc/sysctl.conf /etc/sysctl.d/99-sysctl.conf