Commit Graph

8 Commits (fbe6c10fc5c86c3b14e49e282dcfcf358eedbd44)

Author SHA1 Message Date
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.
10 years ago
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
12 years ago
Gustavo Homem 4abac0a05d remove awkward rsakeys.init comparison 12 years ago
Gustavo Homem 3543206ad7 correct usage 12 years ago
Gustavo Homem 68f38adaa3 more robust version, including force-stop option 12 years ago
Gustavo Homem 49301fac00 further integration fixes 12 years ago
Gustavo Homem 276675a235 add FORCE flag to ensure the service really stops (overridable by system
administraor)
12 years ago
Gustavo Homem 4c24a5605d Changes related to integration 12 years ago