summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-30 09:19:12 +0200
committerGravatar Tom Willemse2014-04-30 09:19:12 +0200
commit1d141b7bb678067bbf7a3467ee8817c9e2da86f1 (patch)
treea65fb3a55c934d2cf29225e246ce6ed2a62f1bdf
downloadsystemd-1d141b7bb678067bbf7a3467ee8817c9e2da86f1.tar.gz
systemd-1d141b7bb678067bbf7a3467ee8817c9e2da86f1.zip
Initial commit
-rw-r--r--.config/systemd/user/.gitignore1
-rw-r--r--.config/systemd/user/emacs.service11
-rw-r--r--.config/systemd/user/urxvtd.service8
3 files changed, 20 insertions, 0 deletions
diff --git a/.config/systemd/user/.gitignore b/.config/systemd/user/.gitignore
new file mode 100644
index 0000000..6d28f9f
--- /dev/null
+++ b/.config/systemd/user/.gitignore
@@ -0,0 +1 @@
+default.target.wants/ \ No newline at end of file
diff --git a/.config/systemd/user/emacs.service b/.config/systemd/user/emacs.service
new file mode 100644
index 0000000..d611118
--- /dev/null
+++ b/.config/systemd/user/emacs.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Emacs: the extensible, self-documenting text editor
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/emacs --daemon
+ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
+Restart=always
+
+[Install]
+WantedBy=default.target
diff --git a/.config/systemd/user/urxvtd.service b/.config/systemd/user/urxvtd.service
new file mode 100644
index 0000000..e5000ed
--- /dev/null
+++ b/.config/systemd/user/urxvtd.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=RXVT-Unicode Daemon
+
+[Service]
+ExecStart=/usr/bin/urxvtd
+
+[Install]
+WantedBy=default.target