starting a new service

Posted on 2005-03-10
Medium Priority
Last Modified: 2010-04-20
I have root access to my machine,
I need to add a service to this machine console based.
I need a service running on a port and server may be /bin/ls

It must not ask any username and password. line we can place in init.d or xinit.d and cabe be like

i assume this service will be like...

service myname
 disable = no
socket-type = stream
wait = no
server = /bin/sh
//must give a port number to activate.

Can anyone please make necessary connections and also steps to do in starting and stoping the service.

Thank You,
Question by:talktome_prashanth
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
LVL 12

Accepted Solution

mburdick earned 1500 total points
ID: 13524708
You didn't specify the distribution of Linux that you're using, so we don't know the method it uses to start and stop services.

Also, if you can tell a little more about what this "service" is that you're trying to set up, we might be able to help more quickly.

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question