Commit b5949e26 authored by Michael Biebl's avatar Michael Biebl
Browse files

Drop systemd-logind-launch script

With the changes in 2d54bc37 this script
is no longer necessary.
parent 2d54bc37
......@@ -154,8 +154,6 @@ override_dh_install:
ln -s ../udev-finish.service debian/udev/lib/systemd/system/sysinit.target.wants/
install --mode=755 debian/debian-fixup \
debian/systemd/lib/systemd/
install --mode=755 debian/systemd-logind-launch \
debian/systemd/lib/systemd/
# remove duplicates
# files shipped by systemd-sysv / sysvinit
rm debian/systemd/usr/share/man/man1/init.1
......
#!/bin/sh
if ! mountpoint -q /sys/fs/cgroup; then
mount -t tmpfs -o uid=0,gid=0,mode=0755,size=1024 none /sys/fs/cgroup
fi
if ! mountpoint -q /sys/fs/cgroup/systemd; then
mkdir -p /sys/fs/cgroup/systemd
mount -t cgroup -o nosuid,noexec,nodev,none,name=systemd systemd /sys/fs/cgroup/systemd
fi
mkdir -p /run/systemd
# necessary for unprivileged LXC containers
ulimit -S -n 16384 || true
ulimit -H -n 16384 || true
exec /lib/systemd/systemd-logind
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment