Skip to content

Commit

Permalink
Final update for now
Browse files Browse the repository at this point in the history
As of systemd-206, systemd --user does not work properly as a means to
manage user daemons and services, due to changes upstream.
  • Loading branch information
zoqaeski committed Jan 5, 2014
1 parent 8e4d177 commit 3ca46f2
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 12 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# UPDATE

As of systemd-206 and higher, most of this fails to work as expected due to how
loginctl creates user slices: user services run outside of the session, so NO
session data is available to them.

I’ll keep these documents and files here, but I personally am not using systemd
to control my session anymore.

# Using `systemd --user`

systemd is useful for system initialization, but it it also useful from a user
Expand Down
1 change: 0 additions & 1 deletion user/cinnamon.target.wants/plait-cache.service

This file was deleted.

1 change: 0 additions & 1 deletion user/cinnamon.target.wants/urxvt.service

This file was deleted.

1 change: 0 additions & 1 deletion user/cinnamon.target.wants/xrdb.service

This file was deleted.

1 change: 0 additions & 1 deletion user/default.target.wants/plait-cache.service

This file was deleted.

11 changes: 11 additions & 0 deletions user/lxpolkit.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=LXPolKit
After=polkit.service

[Service]
Type=forking
ExecStart=/usr/lib/lxpolkit/lxpolkit
Restart=always

[Install]
WantedBy=environment.target
1 change: 0 additions & 1 deletion user/multiplexer.target.wants/tmux.service

This file was deleted.

2 changes: 1 addition & 1 deletion user/tmux.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/tmux new-session -d -s %H
ExecStartPost=/usr/bin/tmux source-file /home/%u/.config/tmux/sessions/default
ExecStop=/usr/bin/tmux kill-session -t %H
ExecStop=/usr/bin/tmux kill-server
Environment=DISPLAY=:0
KillMode=none

Expand Down
3 changes: 1 addition & 2 deletions user/xfce4-panel.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Xfce4 Panel
Wants=xfconfd.service
After=xfconfd.service
#After=pulseaudio.service
After=pulseaudio.service

[Service]
Type=dbus
Expand Down
1 change: 1 addition & 0 deletions user/xfce4-power-manager.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Wants=xfconfd.service
After=xfconfd.service

[Service]
Type=dbus
BusName=org.xfce.PowerManager
ExecStart=/usr/bin/xfce4-power-manager --no-daemon
ExecStop=/usr/bin/xfce4-power-manager --quit
Expand Down
3 changes: 1 addition & 2 deletions user/xinitrc.target
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[Unit]
Description=Xinitrc Stuff
After=environment.target
#Wants=wm.target
Wants=environment.target
Wants=multiplexer.target
#Wants=xfsettingsd.service

[Install]
Alias=default.target
1 change: 0 additions & 1 deletion user/xinitrc.target.wants/urxvt.service

This file was deleted.

1 change: 0 additions & 1 deletion user/xinitrc.target.wants/xrdb.service

This file was deleted.

0 comments on commit 3ca46f2

Please sign in to comment.