Commit Graph

9 Commits

Author SHA1 Message Date
Pavel Roskin
dac8bf728a PIDDIR should be /var/run, not /var/run/xrdp
There are no references to /var/run/xrdp anywhere else in the code.
2016-01-14 16:32:09 +00:00
Koichiro IWAO
ea0aba4ae3 instfiles: init.d/xrdp shouldn't be installed on systemd system
On systemd system, at least CentOS 7, `service foo start` command
works as wrapper of `systemctl start foo`.  However, xrdp installs
init script into /etc/init.d/xrdp.  This script is not necessary
for systemd system, and, what is worse,  if init.d/xrdp exists,
`service xrdp start` works as wrapper to run init.d/xrdp. Maybe
this is inconvinient for many users.
2015-04-17 10:07:42 +09:00
cocoon
781e992c9e xrdp initscript add BASE var, add SDAEMON var, replace fullpaths
with combined path var

-DAEMON=/usr/sbin/xrdp

+BASE=__BASE__
(PREFIX gets replaced by given prefix, or as fallback /usr/local on Ubuntu)

+DAEMON=${BASE}/sbin/xrdp
+SDAEMON=${BASE}/sbin/xrdp-sesman
2013-07-05 21:58:16 +02:00
Gustavo Homem
4abac0a05d remove awkward rsakeys.init comparison 2013-03-21 18:22:21 +00:00
Gustavo Homem
3543206ad7 correct usage 2013-03-20 18:28:17 +00:00
Gustavo Homem
68f38adaa3 more robust version, including force-stop option 2013-03-20 18:22:53 +00:00
Gustavo Homem
49301fac00 further integration fixes 2013-03-20 17:19:40 +00:00
Gustavo Homem
276675a235 add FORCE flag to ensure the service really stops (overridable by system
administraor)
2013-03-20 16:29:58 +00:00
Gustavo Homem
4c24a5605d Changes related to integration 2013-03-18 22:06:10 +00:00