From dde3f2eb790e2418b47e1ba8689d84d89ad68bf8 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 18 Oct 2016 14:37:18 -0700 Subject: [PATCH] [Linux] Add mopidy systemd service --- dotfiles/config/systemd/user/mopidy.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 dotfiles/config/systemd/user/mopidy.service diff --git a/dotfiles/config/systemd/user/mopidy.service b/dotfiles/config/systemd/user/mopidy.service new file mode 100644 index 00000000..90889c17 --- /dev/null +++ b/dotfiles/config/systemd/user/mopidy.service @@ -0,0 +1,10 @@ +[Unit] +Description=mopidy + +[Service] +Type=simple +ExecStart=/usr/bin/env mopidy +ExecStop=/usr/bin/pkill mopidy + +[Install] +WantedBy=wm.target