-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial import of user-session-units.
- Loading branch information
0 parents
commit 810b277
Showing
14 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
autoreconf --install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([user-session-units], [1], [auke-jan.h.kok@intel.com]) | ||
AM_INIT_AUTOMAKE([]) | ||
AC_CONFIG_FILES([Makefile]) | ||
|
||
# Checks for programs. | ||
PKG_CHECK_MODULES([SYSTEMD], [systemd]) | ||
|
||
|
||
# Checks for libraries. | ||
|
||
# Checks for header files. | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
|
||
# Checks for library functions. | ||
|
||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This file is part of systemd. | ||
# | ||
# systemd is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# (at your option) any later version. | ||
|
||
[Unit] | ||
Description=User Manager for %I | ||
After=systemd-user-sessions.service | ||
|
||
[Service] | ||
User=%I | ||
PAMName=login | ||
ControlGroup=%R/user/%I/shared cpu:/ | ||
ControlGroupModify=yes | ||
Type=notify | ||
ExecStart=-/usr/lib/systemd/systemd --user | ||
Environment=DISPLAY=:0 | ||
Environment=XDG_RUNTIME_DIR=/run/user/%I | ||
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
[Unit] | ||
Description=D-Bus System Message Bus | ||
Requires=dbus.socket | ||
|
||
[Service] | ||
ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --systemd-activation | ||
ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Unit] | ||
Description=D-Bus System Message Bus Socket | ||
|
||
[Socket] | ||
ListenStream=%t/dbus/user_bus_socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
[Unit] | ||
Description=The Englightenment Desktop Environment built on EFL | ||
Wants=xorg.target | ||
Requires=dbus.socket | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
[Unit] | ||
Description=The Englightenment Desktop Environment built on EFL | ||
Wants=xorg.target | ||
Requires=dbus.socket | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
[Unit] | ||
Description=The enlightenment Window Manager | ||
After=xorg.target | ||
Requires=dbus.socket | ||
|
||
[Service] | ||
ExecStart=/usr/bin/enlightenment_start | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
[Unit] | ||
Description=XBMC | ||
After=xorg.target dbus.socket | ||
|
||
[Service] | ||
Environment=PATH=/bin:/usr/bin:/sbin:/usr/sbin | ||
ExecStart=/usr/bin/xbmc-standalone | ||
|
||
[Install] | ||
WantedBy=xbmc.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
[Unit] | ||
Description=XBMC | ||
Wants=xorg.target dbus.socket | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
[Unit] | ||
Description=Xfce4 Session Manager | ||
After=xorg.target | ||
After=xfconfd.service | ||
|
||
[Service] | ||
ExecStart=/usr/bin/xfce4-session | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
[Unit] | ||
Description=The Xfce 4.x Desktop Environment | ||
Wants=xorg.target dbus.socket | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
[Unit] | ||
Description=Xfce Configuration Daemon | ||
After=dbus.socket | ||
|
||
[Service] | ||
Type=dbus | ||
BusName=org.xfce.Xfconf | ||
ExecStart=/usr/lib/xfce4/xfconf/xfconfd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
[Unit] | ||
Description=Xfce Window Manager Daemon | ||
After=xorg.target | ||
|
||
[Service] | ||
Restart=always | ||
RestartSec=1 | ||
ExecStart=/usr/bin/xfwm4 |