diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-06 13:22:47 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-06 13:22:47 -0500 |
commit | 952768c46ae11e0bb1cb01f527153f6cd2d9ba62 (patch) | |
tree | 520c1c6f54a31919e63bf76c03f1932deb56119a /.config/systemd/user | |
parent | 9472425275b9cfbaa99301621c338faa5e0a61f6 (diff) |
clean up systemd configuration
Diffstat (limited to '.config/systemd/user')
l---------[-rw-r--r--] | .config/systemd/user/default.target.wants/emacs-daemon.service | 11 | ||||
l---------[-rw-r--r--] | .config/systemd/user/default.target.wants/gpg-agent.service | 10 | ||||
l--------- | .config/systemd/user/default.target.wants/maildirproc@att.service | 1 | ||||
l--------- | .config/systemd/user/default.target.wants/maildirproc@purdue.service | 1 | ||||
l--------- | .config/systemd/user/default.target.wants/vncserver@1.service | 1 | ||||
-rw-r--r-- | .config/systemd/user/emacs-daemon.service | 10 | ||||
-rw-r--r-- | .config/systemd/user/gpg-agent.service | 9 | ||||
-rw-r--r-- | .config/systemd/user/redshift@.service | 11 | ||||
-rw-r--r-- | .config/systemd/user/vncserver@.service | 2 |
9 files changed, 33 insertions, 23 deletions
diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service index 279d83a..106cf42 100644..120000 --- a/.config/systemd/user/default.target.wants/emacs-daemon.service +++ b/.config/systemd/user/default.target.wants/emacs-daemon.service @@ -1,10 +1 @@ -[Unit] -Description=Emacs deamon - -[Service] -Type=forking -ExecStart=/bin/bash -l -c 'emacs --daemon' -ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' - -[Install] -WantedBy=default.target +/home/lukeshu-parabola/.config/systemd/user/emacs-daemon.service
\ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/gpg-agent.service b/.config/systemd/user/default.target.wants/gpg-agent.service index 93c12b0..5727454 100644..120000 --- a/.config/systemd/user/default.target.wants/gpg-agent.service +++ b/.config/systemd/user/default.target.wants/gpg-agent.service @@ -1,9 +1 @@ -[Unit] -Description="GnuPG agent daemon" - -[Service] -Type=forking -ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg - -[Install] -WantedBy=default.target +/home/lukeshu-parabola/.config/systemd/user/gpg-agent.service
\ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/maildirproc@att.service b/.config/systemd/user/default.target.wants/maildirproc@att.service deleted file mode 120000 index 1079515..0000000 --- a/.config/systemd/user/default.target.wants/maildirproc@att.service +++ /dev/null @@ -1 +0,0 @@ -/home/luke/.config/systemd/user/maildirproc@.service
\ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/maildirproc@purdue.service b/.config/systemd/user/default.target.wants/maildirproc@purdue.service deleted file mode 120000 index 1079515..0000000 --- a/.config/systemd/user/default.target.wants/maildirproc@purdue.service +++ /dev/null @@ -1 +0,0 @@ -/home/luke/.config/systemd/user/maildirproc@.service
\ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/vncserver@1.service b/.config/systemd/user/default.target.wants/vncserver@1.service deleted file mode 120000 index 2dcf488..0000000 --- a/.config/systemd/user/default.target.wants/vncserver@1.service +++ /dev/null @@ -1 +0,0 @@ -/home/luke/.config/systemd/user/vncserver@.service
\ No newline at end of file diff --git a/.config/systemd/user/emacs-daemon.service b/.config/systemd/user/emacs-daemon.service new file mode 100644 index 0000000..279d83a --- /dev/null +++ b/.config/systemd/user/emacs-daemon.service @@ -0,0 +1,10 @@ +[Unit] +Description=Emacs deamon + +[Service] +Type=forking +ExecStart=/bin/bash -l -c 'emacs --daemon' +ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/gpg-agent.service b/.config/systemd/user/gpg-agent.service new file mode 100644 index 0000000..93c12b0 --- /dev/null +++ b/.config/systemd/user/gpg-agent.service @@ -0,0 +1,9 @@ +[Unit] +Description="GnuPG agent daemon" + +[Service] +Type=forking +ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/redshift@.service b/.config/systemd/user/redshift@.service new file mode 100644 index 0000000..41a0b7a --- /dev/null +++ b/.config/systemd/user/redshift@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Redshift display colour temperature adjustment +Documentation=http://jonls.dk/redshift/ + +[Service] +Environment=DISPLAY=%I +ExecStart=/usr/bin/redshift +Restart=always + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service index fa616d6..ef83ef2 100644 --- a/.config/systemd/user/vncserver@.service +++ b/.config/systemd/user/vncserver@.service @@ -3,7 +3,7 @@ Description=VNC desktop [Service] Type=simple -ExecStart=/bin/bash -l -c 'vncserver -fg :%I' +ExecStart=/bin/bash -l -c 'vncserver -fg %I' Restart=always ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I |