Skip to content

update version 10, mohon dikoreksi pak#1

Open
setiaji wants to merge 1 commit intoBetaUliansyah:masterfrom
setiaji:patch-1
Open

update version 10, mohon dikoreksi pak#1
setiaji wants to merge 1 commit intoBetaUliansyah:masterfrom
setiaji:patch-1

Conversation

@setiaji
Copy link
Copy Markdown

@setiaji setiaji commented Jul 13, 2017

#!/bin/bash
service=bisa_diganti_dengan_nama_service

if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
echo "$service is running!!!"
else
/etc/init.d/$service start
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant