summaryrefslogtreecommitdiffstats
path: root/net-misc/xrdp/files/xrdp-initd
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-08-31 02:17:32 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-08-31 02:17:32 +0200
commita27f31881a85662d971d57fb379756eda77e27d0 (patch)
tree0158901b6b5ae16e673cfb54def842fbcfb7f59a /net-misc/xrdp/files/xrdp-initd
parentxrdp (diff)
downloadg-a27f31881a85662d971d57fb379756eda77e27d0.tar
g-a27f31881a85662d971d57fb379756eda77e27d0.tar.gz
g-a27f31881a85662d971d57fb379756eda77e27d0.tar.bz2
g-a27f31881a85662d971d57fb379756eda77e27d0.tar.lz
g-a27f31881a85662d971d57fb379756eda77e27d0.tar.xz
g-a27f31881a85662d971d57fb379756eda77e27d0.tar.zst
g-a27f31881a85662d971d57fb379756eda77e27d0.zip
Diffstat (limited to 'net-misc/xrdp/files/xrdp-initd')
-rw-r--r--net-misc/xrdp/files/xrdp-initd28
1 files changed, 0 insertions, 28 deletions
diff --git a/net-misc/xrdp/files/xrdp-initd b/net-misc/xrdp/files/xrdp-initd
deleted file mode 100644
index 8f943e1..0000000
--- a/net-misc/xrdp/files/xrdp-initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- use net logger
-}
-
-start() {
- ebegin "Starting X remote desktop daemon"
- start-stop-daemon --start --pidfile /var/run/xrdp.pid --exec /usr/sbin/xrdp > /dev/null
- eend $? || return $?
-
- ebegin "Starting remote desktop session manager"
- start-stop-daemon --start --pidfile /var/run/xrdp-sesman.pid --exec /usr/sbin/xrdp-sesman > /dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping X remote desktop daemon"
- start-stop-daemon --stop --pidfile /var/run/xrdp.pid
- eend $?
-
- ebegin "Stopping remote desktop session manager"
- start-stop-daemon --stop --pidfile /var/run/xrdp-sesman.pid
- eend $?
-}