Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Run perforce Server as a Service

Spread the Knowledge

rajeshkumar created the topic: Run perforce Server as a Service
Run perforce Server as a Service OR boot automatically when system restart

Template of p4d file under /etc/init.d

#! /bin/sh
# chkconfig: 35 95 05
# description: Perforce revision control system server.

umask 022

# Source function library.
. /etc/rc.d/init.d/functions

. /etc/p4d.conf


# See how we were called.
case "$1" in
echo -n "Starting p4d "
if [ ! -z "$P4D_USER" ]; then
su - $P4D_USER -c "$START_CMD"
touch /var/lock/subsys/p4d
echo -n "Stopping p4d: "
killproc p4d

rm -f /var/lock/subsys/p4d
status p4d
$0 stop
$0 start
echo "Usage: p4d {start|stop|status|restart}"
exit 1

exit 0

Template of p4d.conf

Add /etc/init.d/p4d into chkconfig using following command…

chkconfig –add /etc/init.d/p4d
Rajesh Kumar
Twitt me @

chander replied the topic: Re: Run perforce Server as a Service
I think Services is a windows concept and method.

To run perforce as a service the Perforce Server should be installed as a Windows service. Then an Administrator privileges can start and stop it using the Services dialog in the Control Panel.

To start the Perforce service:
Context-click on “My Computer”, and select “Manage”. The “Computer Management” window is displayed.
In the right hand pane, double click on “Services and Applications”.
Double click on “Services”. You now have a list of available Windows services.
Scroll down until you see the “Perforce” service. Right click on this item and select “Start”.

In Unix it is running as a Daemon

rajeshkumar replied the topic: Re: Run perforce Server as a Service
Hi chander,

Thanks for correcting terminology and your inputs for windows…
Rajesh Kumar
Twitt me @

Rajesh Kumar