From 6b2f1ba42459b7a3b62502baab88997613178d7e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 15 Jul 2015 22:55:31 +0200 Subject: =?UTF-8?q?Dropped=20support=20for=20arbitrary=20user=20shell=20to?= =?UTF-8?q?=20please=20p=C3=B6ttering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/systemd/user/emacs.service | 4 ++-- .config/systemd/user/urxvtd.service | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.config/systemd/user') diff --git a/.config/systemd/user/emacs.service b/.config/systemd/user/emacs.service index 9f9e4f9..a552611 100644 --- a/.config/systemd/user/emacs.service +++ b/.config/systemd/user/emacs.service @@ -3,8 +3,8 @@ Description=Emacs: the extensible, self-documenting text editor [Service] Type=forking -ExecStart=%s -c "emacs --daemon" -ExecStop=%s -c 'emacsclient --eval "(kill-emacs)"' +ExecStart=/bin/sh -c "emacs --daemon" +ExecStop=/bin/sh -c 'emacsclient --eval "(kill-emacs)"' Environment=PATH=%h/bin:/var/setuid-wrappers:%h/.nix-profile/bin:%h/.nix-profile/sbin:%h/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec Restart=always diff --git a/.config/systemd/user/urxvtd.service b/.config/systemd/user/urxvtd.service index 4efe794..c5ff9b9 100644 --- a/.config/systemd/user/urxvtd.service +++ b/.config/systemd/user/urxvtd.service @@ -3,7 +3,7 @@ Description=urxvtd - urxvt terminal daemon [Service] Type=simple -ExecStart=%s -c urxvtd +ExecStart=/bin/sh -c urxvtd Restart=always [Install] -- cgit v1.2.3