summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user')
l---------[-rw-r--r--].config/systemd/user/default.target.wants/emacs-daemon.service11
-rw-r--r--.config/systemd/user/emacs-daemon.service10
-rw-r--r--.config/systemd/user/x0vncserver@.service10
3 files changed, 21 insertions, 10 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..5a3b3f7 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/luke/.config/systemd/user/emacs-daemon.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/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service
new file mode 100644
index 0000000..99e897c
--- /dev/null
+++ b/.config/systemd/user/x0vncserver@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=VNC server for X displays
+
+[Service]
+Type=simple
+ExecStart=/bin/bash -l -c 'x0vncserver display=:%I PasswordFile="${HOME}/.vnc/passwd"'
+Restart=always
+
+[Install]
+WantedBy=default.target