shift-shell/services/plasma-phone-compositor.service.cmake
Pier Luigi Fiorini fb865c86da Set DBUS_SESSION_BUS_ADDRESS directly on services
Rather than from environment configuration file so that systemd will
expand %t.
2014-11-03 18:35:33 +01:00

22 lines
646 B
CMake

#
# Copyright (C) 2014 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
#
# Starts Green Island with the phone compositor plugin.
#
[Unit]
Description=Green Island
Requires=dbus.socket pre-user-session.target
After=pre-user-session.target
Conflicts=maui-bootsplash.service
[Service]
Type=notify
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket
EnvironmentFile=-/var/lib/environment/compositor/*.conf
EnvironmentFile=-/var/lib/environment/greenisland/*.conf
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/greenisland $LIPSTICK_OPTIONS -p org.kde.satellite.compositor.phone
Restart=on-failure
[Install]
WantedBy=user-session.target