From 0a5677f9a10b31fa1a39861704c0fff4b6a15d66 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 12 Oct 2015 15:15:24 +0200 Subject: use systemd user unit to (auto-)start --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e3be1fb..08e021f 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ followed by: This will place an executable at `/usr/bin/mpd-notification`, documentation can be found in `/usr/share/doc/mpd-notification/`. -Additionally a desktop file is installed to `/etc/xdg/autostart/`, this -automatically starts the program when logged in to a desktop environment. +Additionally a systemd unit file is installed to `/usr/lib/systemd/user/`. Usage ----- -Just run `mpd-notification` after installation or re-login to desktop -environment for autostart. +Just run `mpd-notification` to run it once. A systemd user service can be +started and/or enabled with `systemctl --user start mpd-notification` +or `systemctl --user enable mpd-notification`. `mpd-notification` accepts some arguments: -- cgit v1.2.3-54-g00ecf