Changeset View
Changeset View
Standalone View
Standalone View
login-sessions/startplasma-dev.sh.cmake
1 | #!/bin/bash | 1 | #!/bin/bash | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | source @CMAKE_INSTALL_FULL_LIBEXECDIR@/plasma-dev-prefix.sh | 3 | source @CMAKE_INSTALL_FULL_LIBEXECDIR@/plasma-dev-prefix.sh | ||
4 | 4 | | |||
5 | # This is a bit of a hack done because systemd starts in pam, and we only set our dev paths after all that is complete | ||||
6 | # This copies everything into a transient runtime directory that systemd reads and reloads the units | ||||
7 | | ||||
8 | mkdir -p "$XDG_RUNTIME_DIR/systemd/user.control" | ||||
9 | command cp -r @KDE_INSTALL_FULL_SYSTEMDUSERUNITDIR@/* $XDG_RUNTIME_DIR/systemd/user.control | ||||
10 | systemctl --user daemon-reload | ||||
11 | | ||||
5 | startplasma$@ | 12 | startplasma$@ |