From 5b2364196c433d89521c4d0d34e9d072ec322dca Mon Sep 17 00:00:00 2001 From: Dominik George Date: Mon, 30 Jan 2017 23:15:43 +0100 Subject: Some fixes/improvements to service files. (#646) * Add Documentation field so the systemctl help command works. * Remove syslog.target as syslog is normally socket-activated now. --- instfiles/xrdp-sesman.service | 3 ++- instfiles/xrdp.service | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/instfiles/xrdp-sesman.service b/instfiles/xrdp-sesman.service index cbfad0a0..ff8d5b0c 100644 --- a/instfiles/xrdp-sesman.service +++ b/instfiles/xrdp-sesman.service @@ -1,6 +1,7 @@ [Unit] Description=xrdp session manager -After=syslog.target network.target +Documentation=man:xrdp-sesman(8) man:sesman.ini(5) +After=network.target StopWhenUnneeded=true BindsTo=xrdp.service diff --git a/instfiles/xrdp.service b/instfiles/xrdp.service index fca4bd66..ccf07c73 100644 --- a/instfiles/xrdp.service +++ b/instfiles/xrdp.service @@ -1,7 +1,8 @@ [Unit] Description=xrdp daemon +Documentation=man:xrdp(8) man:xrdp.ini(5) Requires=xrdp-sesman.service -After=syslog.target network.target xrdp-sesman.service +After=network.target xrdp-sesman.service [Service] Type=forking -- cgit v1.2.1