From 839c9f36f2e76db080fb5674cdeef2e977e663b8 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 22 Sep 2016 21:37:55 -0700 Subject: [PATCH] [Linux] Add keepassx and udiskie systemd services --- dotfiles/config/systemd/user/keepassx.service | 10 ++++++++++ dotfiles/config/systemd/user/udiskie.service | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 dotfiles/config/systemd/user/keepassx.service create mode 100644 dotfiles/config/systemd/user/udiskie.service diff --git a/dotfiles/config/systemd/user/keepassx.service b/dotfiles/config/systemd/user/keepassx.service new file mode 100644 index 00000000..d76f8704 --- /dev/null +++ b/dotfiles/config/systemd/user/keepassx.service @@ -0,0 +1,10 @@ +[Unit] +Description=KeePassX + +[Service] +Type=simple +ExecStart=/usr/bin/zsh -c "start_keepass.sh" +ExecStop=/usr/bin/pkill keepassx + +[Install] +WantedBy=graphical.target diff --git a/dotfiles/config/systemd/user/udiskie.service b/dotfiles/config/systemd/user/udiskie.service new file mode 100644 index 00000000..250e7adc --- /dev/null +++ b/dotfiles/config/systemd/user/udiskie.service @@ -0,0 +1,9 @@ +[Unit] +Description=udiskie + +[Service] +ExecStart=/usr/bin/udiskie --tray +Restart=always + +[Install] +WantedBy=default.target