#!/bin/sh # # xrdp Start/Stop the remote desktop protocol server # # chkconfig: 2345 60 40 # description: Starts the remote desktop protocol server. # processname: xrdp # config: /etc/xrdp/xrdp.ini # pidfile: /var/run/xrdp.pid # Source function library. . /etc/rc.d/init.d/functions # Get service config [ -f /etc/sysconfig/xrdp ] && . /etc/sysconfig/xrdp start() { # Check if the service is already running? if [ ! -f /var/lock/subsys/xrdp ]; then msg_starting "xrdp" daemon xrdp