summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-06 13:22:47 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-06 13:22:47 -0500
commit952768c46ae11e0bb1cb01f527153f6cd2d9ba62 (patch)
tree520c1c6f54a31919e63bf76c03f1932deb56119a
parent9472425275b9cfbaa99301621c338faa5e0a61f6 (diff)
clean up systemd configuration
l---------[-rw-r--r--].config/systemd/user/default.target.wants/emacs-daemon.service11
l---------[-rw-r--r--].config/systemd/user/default.target.wants/gpg-agent.service10
l---------.config/systemd/user/default.target.wants/maildirproc@att.service1
l---------.config/systemd/user/default.target.wants/maildirproc@purdue.service1
l---------.config/systemd/user/default.target.wants/vncserver@1.service1
-rw-r--r--.config/systemd/user/emacs-daemon.service10
-rw-r--r--.config/systemd/user/gpg-agent.service9
-rw-r--r--.config/systemd/user/redshift@.service11
-rw-r--r--.config/systemd/user/vncserver@.service2
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