From 237cb02638a78b60e456ea87adbe34174327687e Mon Sep 17 00:00:00 2001 From: Felix Kauselmann <2039670+selmf@users.noreply.github.com> Date: Fri, 3 Nov 2017 08:32:35 +0100 Subject: [PATCH] Fix YACReaderLibraryServer service file and service install path. --- YACReaderLibraryServer/YACReaderLibraryServer.pro | 2 +- YACReaderLibraryServer/yacreaderlibraryserver.service | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/YACReaderLibraryServer/YACReaderLibraryServer.pro b/YACReaderLibraryServer/YACReaderLibraryServer.pro index 3ce24e58..48ccda01 100644 --- a/YACReaderLibraryServer/YACReaderLibraryServer.pro +++ b/YACReaderLibraryServer/YACReaderLibraryServer.pro @@ -149,7 +149,7 @@ isEmpty(DESTDIR) { server.path = $$DATADIR/yacreader server.files = ../release/server -systemd.path = $$LIBDIR/systemd/system +systemd.path = $$LIBDIR/systemd/user systemd.files = yacreaderlibraryserver.service translation.path = $$DATADIR/yacreader/languages diff --git a/YACReaderLibraryServer/yacreaderlibraryserver.service b/YACReaderLibraryServer/yacreaderlibraryserver.service index c8f6ab30..6ed9024d 100644 --- a/YACReaderLibraryServer/yacreaderlibraryserver.service +++ b/YACReaderLibraryServer/yacreaderlibraryserver.service @@ -1,5 +1,5 @@ [Unit] -Description=YACReaderLibrary headless server +Description= YACReaderLibrary headless server After=network.target [Service] @@ -8,4 +8,4 @@ Restart=always ExecStart=/usr/bin/YACReaderLibraryServer start [Install] -WantedBy=multi-user.target +WantedBy=default.target