This commit is contained in:
Jörg Thalheim 2014-07-06 13:17:51 +02:00
parent de810d24e8
commit b9ad495ca9
60 changed files with 92 additions and 224 deletions

View File

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

View File

@ -2,4 +2,8 @@
Description=Automatic Trash cleanup
[Service]
Type=oneshot
ExecStart=/usr/bin/autotrash --days=14
[Install]
WantedBy=cron-weekly.target

View File

@ -1,16 +0,0 @@
[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

5
user/chromium.service Normal file
View File

@ -0,0 +1,5 @@
[Unit]
Description=Chromium
[Service]
ExecStart=/usr/bin/chromium

View File

@ -0,0 +1,9 @@
[Unit]
Description=Clean Empty folder / Deadlinks
[Service]
Type=oneshot
ExecStart=/home/joerg/bin/clean-music-library.rb
[Install]
WantedBy=timer-daily.target

5
user/copyq.service Normal file
View File

@ -0,0 +1,5 @@
[Unit]
Description=handle clipboards
[Service]
ExecStart=/usr/bin/copyq

View File

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

View File

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

View File

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

View File

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

2
user/default.target Normal file
View File

@ -0,0 +1,2 @@
[Unit]
Description=Target which is executed at startup

View File

@ -0,0 +1,12 @@
[Unit]
Description=Backup to Dropbox
[Service]
Type=oneshot
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/usr/bin/yaourt -B %h/Backup/pacman/
[Install]
WantedBy=timer-weekly.target

View File

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

13
user/gajim-sleep.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Suspend Gajim
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/gajim-remote change_status offline
ExecStop=-/usr/bin/gajim-remote change_status online
[Install]
WantedBy=sleep.target

View File

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

View File

@ -8,6 +8,3 @@ IgnoreOnIsolate=true
Type=oneshot
ExecStart=/bin/sh -c 'test "$GNOME_KEYRING_CONTROL" && systemctl --user set-environment $(gnome-keyring-daemon --start)'
RemainAfterExit=true
[Install]
WantedBy=mystuff.target

View File

@ -2,8 +2,12 @@
Description=Automatic Gpodder download
[Service]
Type=oneshot
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/usr/bin/gpo update
ExecStart=/usr/bin/gpo download
[Install]
WantedBy=cron-daily.target

View File

@ -1,10 +0,0 @@
[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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

10
user/offlineimap.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Start offlineimap as a daemon
[Service]
ExecStart=/usr/bin/offlineimap
KillSignal=SIGUSR2
Restart=always
[Install]
WantedBy=default.target

View File

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

View File

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

View File

@ -8,4 +8,4 @@ ExecStart=/usr/bin/pulseaudio
Restart=always
[Install]
WantedBy=mystuff.target
WantedBy=default.target

View File

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

View File

@ -2,7 +2,7 @@
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
ExecStart=/home/joerg/bin/upload
[Install]
WantedBy=mystuff.target

View File

@ -1,12 +0,0 @@
[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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +0,0 @@
[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

View File

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

12
user/tmux.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Tmux Server
[Service]
Type=forking
RemainAfterExit=yes
ExecStart=/usr/bin/tmux new-session -d -s %u
ExecStop=/usr/bin/tmux kill-session -t %u
Restart=Always
[Install]
WantedBy=default.target

View File

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

View File

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

View File

@ -1,13 +0,0 @@
[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

View File

@ -1,22 +0,0 @@
#
# 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

View File

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

View File

@ -1,12 +0,0 @@
[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

View File

@ -1,12 +0,0 @@
[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