diff options
author | Itamar Reis Peixoto <itamar@ispbrasil.com.br> | 2015-07-15 14:23:39 -0300 |
---|---|---|
committer | Itamar Reis Peixoto <itamar@ispbrasil.com.br> | 2015-07-15 14:23:39 -0300 |
commit | 26780d7feaea5fc16c9f4aa2f6e10bc2103f8187 (patch) | |
tree | 43d70a9a4d70e5c8c1ca018aa3467a405f04b13c | |
parent | 99b433a13002bd3a25df8e9906e776d6f8b0240c (diff) | |
download | xrdp-proprietary-26780d7feaea5fc16c9f4aa2f6e10bc2103f8187.tar.gz xrdp-proprietary-26780d7feaea5fc16c9f4aa2f6e10bc2103f8187.zip |
improve systemd unit files
-rw-r--r-- | instfiles/xrdp-sesman.service | 1 | ||||
-rw-r--r-- | instfiles/xrdp.service | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/instfiles/xrdp-sesman.service b/instfiles/xrdp-sesman.service index d40150cd..69882783 100644 --- a/instfiles/xrdp-sesman.service +++ b/instfiles/xrdp-sesman.service @@ -2,6 +2,7 @@ Description=xrdp session manager After=syslog.target network.target StopWhenUnneeded=true +BindTo=xrdp.service [Service] Type=forking diff --git a/instfiles/xrdp.service b/instfiles/xrdp.service index 7bb076d1..843500d6 100644 --- a/instfiles/xrdp.service +++ b/instfiles/xrdp.service @@ -7,7 +7,7 @@ After=syslog.target network.target xrdp-sesman.service Type=forking PIDFile=/var/run/xrdp.pid EnvironmentFile=/etc/sysconfig/xrdp -ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS +ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS --nodaemon ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill [Install] |