from pardus.serviceutils import *
import signal

serviceType = "server"
serviceDesc = "Xinetd"
serviceDefault = "off"

@synchronized
def start():
    startService(command="/usr/sbin/xinetd",
                 args="-pidfile /var/run/xinetd.pid -stayalive -reuse",
                 pidfile="/var/run/xinetd.pid",
                 donotify=True)

@synchronized
def stop():
    stopService(pidfile="/var/run/xinetd.pid",
                donotify=True)

def reload():
    stopService(command="/usr/sbin/xinetd",
                signal=signal.SIGHUP)

def status():
    return isServiceRunning("/var/run/xinetd.pid")

37edda6931d3139660e974c7fdac751124b40e6c
<mask token>


@synchronized
def start():
    startService(command='/usr/sbin/xinetd', args=
        '-pidfile /var/run/xinetd.pid -stayalive -reuse', pidfile=
        '/var/run/xinetd.pid', donotify=True)


<mask token>


def reload():
    stopService(command='/usr/sbin/xinetd', signal=signal.SIGHUP)


def status():
    return isServiceRunning('/var/run/xinetd.pid')

<mask token>


@synchronized
def start():
    startService(command='/usr/sbin/xinetd', args=
        '-pidfile /var/run/xinetd.pid -stayalive -reuse', pidfile=
        '/var/run/xinetd.pid', donotify=True)


@synchronized
def stop():
    stopService(pidfile='/var/run/xinetd.pid', donotify=True)


def reload():
    stopService(command='/usr/sbin/xinetd', signal=signal.SIGHUP)


def status():
    return isServiceRunning('/var/run/xinetd.pid')

<mask token>
serviceType = 'server'
serviceDesc = 'Xinetd'
serviceDefault = 'off'


@synchronized
def start():
    startService(command='/usr/sbin/xinetd', args=
        '-pidfile /var/run/xinetd.pid -stayalive -reuse', pidfile=
        '/var/run/xinetd.pid', donotify=True)


@synchronized
def stop():
    stopService(pidfile='/var/run/xinetd.pid', donotify=True)


def reload():
    stopService(command='/usr/sbin/xinetd', signal=signal.SIGHUP)


def status():
    return isServiceRunning('/var/run/xinetd.pid')

from pardus.serviceutils import *
import signal
serviceType = 'server'
serviceDesc = 'Xinetd'
serviceDefault = 'off'


@synchronized
def start():
    startService(command='/usr/sbin/xinetd', args=
        '-pidfile /var/run/xinetd.pid -stayalive -reuse', pidfile=
        '/var/run/xinetd.pid', donotify=True)


@synchronized
def stop():
    stopService(pidfile='/var/run/xinetd.pid', donotify=True)


def reload():
    stopService(command='/usr/sbin/xinetd', signal=signal.SIGHUP)


def status():
    return isServiceRunning('/var/run/xinetd.pid')

from pardus.serviceutils import *
import signal

serviceType = "server"
serviceDesc = "Xinetd"
serviceDefault = "off"

@synchronized
def start():
    startService(command="/usr/sbin/xinetd",
                 args="-pidfile /var/run/xinetd.pid -stayalive -reuse",
                 pidfile="/var/run/xinetd.pid",
                 donotify=True)

@synchronized
def stop():
    stopService(pidfile="/var/run/xinetd.pid",
                donotify=True)

def reload():
    stopService(command="/usr/sbin/xinetd",
                signal=signal.SIGHUP)

def status():
    return isServiceRunning("/var/run/xinetd.pid")
