first commit

This commit is contained in:
Jörg Thalheim 2013-02-17 19:39:48 +01:00
commit de810d24e8
52 changed files with 316 additions and 0 deletions

12
user/app@.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Application "%i"
After=xorg.target
After=environment.target
IgnoreOnIsolate=yes
[Service]
ExecStart=/usr/bin/env %i
KillMode=process
[Install]
WantedBy=mystuff.target

16
user/awesome-wm.service Normal file
View File

@ -0,0 +1,16 @@
[Unit]
Description=Dynamic window manager written in C
Requires=xorg.target
Requires=mystuff.target
After=xorg.target
Before=mystuff.target
[Service]
Type=simple
GuessMainPID=yes
ExecStart=/usr/bin/awesome
Restart=always
RestartSec=10
[Install]
WantedBy=wm.target

1
user/dbus.socket Symbolic link
View File

@ -0,0 +1 @@
/usr/lib/systemd/user/dbus.socket

1
user/default.target Symbolic link
View File

@ -0,0 +1 @@
wm.target

9
user/dropbox.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Dropbox Network Storage Daemon
After=xorg.target
[Service]
ExecStart=/usr/bin/dropboxd
[Install]
WantedBy=mystuff.target

3
user/environment.target Normal file
View File

@ -0,0 +1,3 @@
[Unit]
Description=Set session environment variables
IgnoreOnIsolate=true

9
user/gnome-encfs.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Dropbox Network Storage Daemon
After=xorg.target
[Service]
ExecStart=/usr/bin/gnome-encfs --mount
[Install]
WantedBy=mystuff.target

View File

@ -0,0 +1,13 @@
[Unit]
Description=GNOME Keyring Daemon
Wants=environment.target
Before=environment.target
IgnoreOnIsolate=true
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'test "$GNOME_KEYRING_CONTROL" && systemctl --user set-environment $(gnome-keyring-daemon --start)'
RemainAfterExit=true
[Install]
WantedBy=mystuff.target

10
user/gvfs-daemon.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=GNOME Gvfs Daemon
[Service]
BusName=org.gtk.vfs.Daemon
ExecStart=/usr/lib/gvfs/gvfsd
[Install]
Alias=dbus-org.gtk.vfs.Daemon.service
WantedBy=mystuff.target

10
user/mpd.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Music Player Daemon
After=sound.target
[Service]
ExecStart=/usr/bin/mpd --no-daemon
PIDFile=%t/mpd.pid
[Install]
WantedBy=mystuff.target

9
user/mpd.socket Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Music Player Daemon Sockets
[Socket]
ListenStream=%h/.mpd/socket
ListenStream=6600
[Install]
WantedBy=mystuff.target

9
user/mpdstated.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Save last mpd state
After=xorg.target
[Service]
ExecStart=/usr/bin/mpdstated --no-daemon
[Install]
WantedBy=mystuff.target

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/rsync-upload.path

6
user/mystuff.target Normal file
View File

@ -0,0 +1,6 @@
[Unit]
Description=Xinitrc Stuff
Wants=wm.target
[Install]
Alias=default.target

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/app@.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/app@.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/app@.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/app@.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/dropbox.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/gnome-encfs.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/gnome-keyring.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/mpd.socket

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/mpdstated.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/parcellite.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/pulseaudio.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/rsync-upload.path

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/timer-daily.timer

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/timer-weekly.timer

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/xmodmap.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/xrdb.service

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/xset.service

10
user/parcellite.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=handle clipboards
Requires=xorg.target
After=xorg.target
[Service]
ExecStart=/usr/bin/parcellite
[Install]
WantedBy=mystuff.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Dropbox Network Storage Daemon
After=xorg.target
[Service]
ExecStart=/usr/bin/pcmanfm --daemon-mode
[Install]
WantedBy=mystuff.target

11
user/pulseaudio.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=PulseAudio Sound System
Before=sound.target
[Service]
BusName=org.pulseaudio.Server
ExecStart=/usr/bin/pulseaudio
Restart=always
[Install]
WantedBy=mystuff.target

6
user/rsync-upload.path Normal file
View File

@ -0,0 +1,6 @@
[Path]
PathChanged=/home/joerg/upload
[Install]
WantedBy=mystuff.target
MakeDirectory=yes

View File

@ -0,0 +1,8 @@
[Unit]
Description=Rsync Server Upload
[Service]
ExecStart=/usr/bin/rsync --recursive --remove-sent-files --partial --archive --progress --verbose -e ssh /home/joerg/upload higgsboson.tk:/var/www/static
[Install]
WantedBy=mystuff.target

12
user/sparkleshare.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Sparkleshare Client
After=xorg.target
[Service]
ExecStart=/usr/bin/sparkleshare start
ExecStop=/usr/bin/sparkleshare stop
ExecRestart=/usr/bin/sparkleshare restart
Type=forking
[Install]
WantedBy=default.target

3
user/timer-daily.target Normal file
View File

@ -0,0 +1,3 @@
[Unit]
Description=Daily Timer Target
StopWhenUnneeded=yes

View File

@ -0,0 +1,8 @@
[Unit]
Description=Clean Deadlinks
[Service]
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/usr/bin/find %h/Musik/links -L -type l -delete

View File

@ -0,0 +1,9 @@
[Unit]
Description=Automatic Gpodder download
[Service]
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/usr/bin/gpo update
ExecStart=/usr/bin/gpo download

10
user/timer-daily.timer Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Daily Timer
[Timer]
OnBootSec=10min
OnUnitActiveSec=1d
Unit=timer-daily.target
[Install]
WantedBy=mystuff.target

10
user/timer-weekly.target Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Daily Timer
[Timer]
OnBootSec=10min
OnUnitActiveSec=1d
Unit=timer-daily.target
[Install]
WantedBy=basic.target

View File

@ -0,0 +1,5 @@
[Unit]
Description=Automatic Trash cleanup
[Service]
ExecStart=/usr/bin/autotrash --days=14

View File

@ -0,0 +1,8 @@
[Unit]
Description=Backup to Dropbox
[Service]
ExecStart=/usr/bin/7z u ~/Backup/emacs.7z ~/.emacs.d
ExecStart=/usr/bin/7z u ~/Backup/firefox.7z ~/.mozilla -x'r!Cache'
ExecStart=/usr/bin/7z u ~/Backup/etc.7z /etc
ExecStart=/usr/bin/yaourt -B ~/Backup/pacman

10
user/timer-weekly.timer Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Weekly Timer
[Timer]
OnBootSec=15min
OnUnitActiveSec=1w
Unit=timer-weekly.target
[Install]
WantedBy=mystuff.target

9
user/wm.target Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Window manager target
Wants=xorg.target
Wants=mystuff.target
#Requires=dbus.socket
AllowIsolate=true
[Install]
Alias=default.target

View File

@ -0,0 +1 @@
/home/joerg/.config/systemd/user/awesome-wm.service

13
user/xmodmap.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=xmodmap
Requires=xorg.target
After=xorg.target
Before=awesome-wm.service
[Service]
Type=oneshot
ExecStart=/usr/bin/setxkbmap -option terminate:ctrl_alt_bksp -option caps:escape
ExecStart=/usr/bin/synclient TouchpadOff=1
[Install]
WantedBy=mystuff.target

22
user/xorg.service Normal file
View File

@ -0,0 +1,22 @@
#
# Minimal Xorg service file - launches Xorg as a service unit
#
# The Xorg launch helper forks, launches Xorg and waits for Xorg to
# accept incoming connections to $DISPLAY, and then signals READY
# to systemd. This guarantees that services that require access to
# $DISPLAY during the session don't start too early.
#
# If you implement a service that requires access to $DISPLAY, your
# service unit file needs to include 'After=xorg.target'.
[Unit]
Description=Xorg server launch helper
Before=xorg.target
[Service]
Type=notify
#ExecStart=/usr/bin/xorg-launch-helper -nolisten tcp -noreset vt1
ExecStart=/bin/cat
Restart=always
RestartSec=10

2
user/xorg.target Normal file
View File

@ -0,0 +1,2 @@
[Unit]
Description=The basic Xorg Server

12
user/xrdb.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=xrdb
Requires=xorg.target
After=xorg.target
Before=awesome-wm.service
[Service]
Type=oneshot
ExecStart=/usr/bin/xrdb -merge %h/.Xresources
[Install]
WantedBy=mystuff.target

12
user/xset.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=xset
Requires=xorg.target
After=xorg.target
Before=awesome-wm.service
[Service]
Type=oneshot
ExecStart=/usr/bin/xset -b +dpms 0 0 300
[Install]
WantedBy=mystuff.target