1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

added systemd user config

This commit is contained in:
eoli3n 2016-03-31 22:48:34 +02:00
parent 7153364718
commit a1d446d777
4 changed files with 37 additions and 0 deletions

@ -0,0 +1,9 @@
[Unit]
Description=Download new wallpaper
[Service]
Type=forking
ExecStart=/home/user/scripts/bash/interfaceliftdownloader/interfacelift.sh -c /home/user/scripts/bash/interfaceliftdownloader/wallpaper.conf
[Install]
WantedBy=default.target

@ -0,0 +1,9 @@
[Unit]
Description=Download new wallpaper daily
[Timer]
OnCalendar=*-*-* *:00:00
Persistent=true
[Install]
WantedBy=timers.target

@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=forking
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target

@ -0,0 +1,9 @@
[Unit]
Description=Weechat in screen
[Service]
ExecStart=/usr/bin/screen -DmS weechat /usr/bin/weechat
ExecStop=/usr/bin/screen -S weechat -X quit
[Install]
WantedBy=default.target