diff options
author | Dominik George <nik@naturalnet.de> | 2017-01-30 23:15:43 +0100 |
---|---|---|
committer | Itamar Reis Peixoto <itamar@ispbrasil.com.br> | 2017-01-30 20:15:43 -0200 |
commit | 5b2364196c433d89521c4d0d34e9d072ec322dca (patch) | |
tree | 19ec79b4dc283166a581eed238998c464abea04c | |
parent | a1aff316dc32506331dfbe643fd8a6118d604e1d (diff) | |
download | xrdp-proprietary-5b2364196c433d89521c4d0d34e9d072ec322dca.tar.gz xrdp-proprietary-5b2364196c433d89521c4d0d34e9d072ec322dca.zip |
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.
-rw-r--r-- | instfiles/xrdp-sesman.service | 3 | ||||
-rw-r--r-- | 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 |