diff options
author | Tom Willemse | 2014-08-21 00:20:30 +0200 |
---|---|---|
committer | Tom Willemse | 2014-08-21 00:20:30 +0200 |
commit | c7eef6ebcf9f90e7a5aabf7d126263aa9da2eabb (patch) | |
tree | 19fa57e20f25e3e23ddb98ceb0abe0c530706411 /systemd | |
parent | a817e7d55c35aac2503c1bc39f27f600bf57e27e (diff) | |
download | dotfiles-c7eef6ebcf9f90e7a5aabf7d126263aa9da2eabb.tar.gz dotfiles-c7eef6ebcf9f90e7a5aabf7d126263aa9da2eabb.zip |
Rename sysemd -> systemd
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/.config/systemd/user/.gitignore | 1 | ||||
-rw-r--r-- | systemd/.config/systemd/user/emacs.service | 12 | ||||
-rw-r--r-- | systemd/.config/systemd/user/emacs.service.d/environment.conf | 3 | ||||
-rw-r--r-- | systemd/.config/systemd/user/synergys.service | 10 | ||||
-rw-r--r-- | systemd/.config/systemd/user/synergys.socket | 9 | ||||
-rw-r--r-- | systemd/.config/systemd/user/urxvtd.service | 9 |
6 files changed, 44 insertions, 0 deletions
diff --git a/systemd/.config/systemd/user/.gitignore b/systemd/.config/systemd/user/.gitignore new file mode 100644 index 0000000..6d28f9f --- /dev/null +++ b/systemd/.config/systemd/user/.gitignore @@ -0,0 +1 @@ +default.target.wants/
\ No newline at end of file diff --git a/systemd/.config/systemd/user/emacs.service b/systemd/.config/systemd/user/emacs.service new file mode 100644 index 0000000..5436721 --- /dev/null +++ b/systemd/.config/systemd/user/emacs.service @@ -0,0 +1,12 @@ +# -*- mode: conf-unix; -*- +[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/systemd/.config/systemd/user/emacs.service.d/environment.conf b/systemd/.config/systemd/user/emacs.service.d/environment.conf new file mode 100644 index 0000000..1e3070f --- /dev/null +++ b/systemd/.config/systemd/user/emacs.service.d/environment.conf @@ -0,0 +1,3 @@ +[Service] +Environment=DISPLAY=:0 +Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus diff --git a/systemd/.config/systemd/user/synergys.service b/systemd/.config/systemd/user/synergys.service new file mode 100644 index 0000000..56c1ac0 --- /dev/null +++ b/systemd/.config/systemd/user/synergys.service @@ -0,0 +1,10 @@ +[Unit] +Description=Synergy Server Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/synergys --config /etc/synergy.conf + +[Install] +WantedBy=multi-user.target diff --git a/systemd/.config/systemd/user/synergys.socket b/systemd/.config/systemd/user/synergys.socket new file mode 100644 index 0000000..dda1537 --- /dev/null +++ b/systemd/.config/systemd/user/synergys.socket @@ -0,0 +1,9 @@ +[Unit] +Conflicts=synergys.service + +[Socket] +ListenStream=24800 +Accept=false + +[Install] +WantedBy=sockets.target diff --git a/systemd/.config/systemd/user/urxvtd.service b/systemd/.config/systemd/user/urxvtd.service new file mode 100644 index 0000000..b1de4f7 --- /dev/null +++ b/systemd/.config/systemd/user/urxvtd.service @@ -0,0 +1,9 @@ +[Unit] +Description=RXVT-Unicode Daemon + +[Service] +ExecStart=/usr/bin/urxvtd +Restart=always + +[Install] +WantedBy=default.target |