From 6beca728cef0df014ce269894cc2a8a1406112ca Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 13 Jan 2019 20:39:19 +0100 Subject: [PATCH] add systemd setup --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 977f8ca..16c378c 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,23 @@ isbn13: 978-0091878863 amazonPrice: "EUR 20,35" ``` -So far it seems like this format is bookseller-parseable. \ No newline at end of file +So far it seems like this format is bookseller-parseable. + +systemd setup +============= + +Those afflicted by systemd (my sympathies) can put something like this in /etc/systemd/user/ambrowse.service: + +``` +[Unit] +Description=ambrowse + +[Service] +Type=simple +ExecStart=/home/johndoe/path/to/ambrowse + +[Install] +WantedBy=default.target +``` + +Run 'systemctl --user start ambrowse' to test and 'systemctl --user enable ambrowse' to permanently enable. \ No newline at end of file