summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-10 17:14:36 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-10 17:15:47 -0400
commitc17c631a9f835eca8dd09a5aaf6039a3cfd9354b (patch)
treec76641c2c04caa692a60785b61f0bded5894d03a /.config/systemd/user
parent480d42ba2f7339a1c992e035f0ad90fcac416346 (diff)
systemd
Diffstat (limited to '.config/systemd/user')
-rw-r--r--.config/systemd/user/default.target.wants/batterymon.service9
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/maildirproc@.service10
-rw-r--r--.config/systemd/user/vncserver@.service11
6 files changed, 24 insertions, 9 deletions
diff --git a/.config/systemd/user/default.target.wants/batterymon.service b/.config/systemd/user/default.target.wants/batterymon.service
deleted file mode 100644
index c8abc0d..0000000
--- a/.config/systemd/user/default.target.wants/batterymon.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Battery monitor
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/batterymon 20 "amixer sset Master unmute 100%; espeak 'PLUG ME IN'; sleep 7;"
-
-[Install]
-WantedBy=default.target
diff --git a/.config/systemd/user/default.target.wants/maildirproc@att.service b/.config/systemd/user/default.target.wants/maildirproc@att.service
new file mode 120000
index 0000000..1079515
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/maildirproc@att.service
@@ -0,0 +1 @@
+/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
new file mode 120000
index 0000000..1079515
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/maildirproc@purdue.service
@@ -0,0 +1 @@
+/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
new file mode 120000
index 0000000..2dcf488
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/vncserver@1.service
@@ -0,0 +1 @@
+/home/luke/.config/systemd/user/vncserver@.service \ No newline at end of file
diff --git a/.config/systemd/user/maildirproc@.service b/.config/systemd/user/maildirproc@.service
new file mode 100644
index 0000000..bdca746
--- /dev/null
+++ b/.config/systemd/user/maildirproc@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=maildirproc mail filter
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/maildirproc -r ${HOME}/.config/maildirproc/%I.rc
+Restart=on-failure
+
+[Install]
+WantedBy=default.target
diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service
new file mode 100644
index 0000000..fa616d6
--- /dev/null
+++ b/.config/systemd/user/vncserver@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=VNC desktop
+
+[Service]
+Type=simple
+ExecStart=/bin/bash -l -c 'vncserver -fg :%I'
+Restart=always
+ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I
+
+[Install]
+WantedBy=default.target