path: root/deps/elogind/rc.elogind
diff options
author Eric Hameleers <>2017-03-19 21:06:40 +0100
committer Eric Hameleers <>2017-03-19 21:06:40 +0100
commit60bf248ad0c31c8bdb95b5d6d6b0c7adb0fafaac (patch)
treeb2771797e777a72c99a554e6daef658717bcb09b /deps/elogind/rc.elogind
parent7912a391b5cb6f00d30e9fdea957e5be71d156b0 (diff)
deps: updated for KDE 5_17.03
Six packages have been added in order to compile the KDE packages libkface, digikam and kdenlive: - dvdauthor - frei0r - lensfun - mlt - opencv - vid.stab Furthermore I (re-)added some sources that I intend to use in the 'testing' branch of ktown. These Slackware originals were slightly modified and need to be compiled against wayland (also in need of recompilation are libxkbcommon and qt5 but those sources are already included): - elogind - mesa - xorg-server
Diffstat (limited to 'deps/elogind/rc.elogind')
1 files changed, 29 insertions, 0 deletions
diff --git a/deps/elogind/rc.elogind b/deps/elogind/rc.elogind
new file mode 100644
index 0000000..b1adcaa
--- /dev/null
+++ b/deps/elogind/rc.elogind
@@ -0,0 +1,29 @@
+# /etc/rc.d/rc.elogind
+# Initializes the elogind service on Slackware.
+# Author:
+# Eric Hameleers <> 2016
+# Description:
+# We use elogind (standalone subset extracted from systemd) instead of
+# systemd itself; so we need to initialize a systemd-like state.
+# Note:
+# Slackware has a tmpfs mounted on /run (see rc.S).
+# The systemd/elogind state directory:
+mkdir -p /run/systemd
+chmod 0755 /run/systemd
+# Toplevel directory for runtime user session data:
+mkdir -p /run/user
+chmod 1777 /run/user
+# Elogind uses cgroups to organize processes like mapping PIDs to sessions.
+# Elogind's cgroup hierarchy isn't associated with any resource controller
+# ("subsystem") so we must create it manually:
+mkdir -p /sys/fs/cgroup/elogind
+mount -t cgroup -o none,name=elogind elogind /sys/fs/cgroup/elogind