Remove reference to .sh extenions and adjust filepermissions from

755 to 555.

PR:		docs/124167
Submitted by:	Sahil Tandon <sahil at tandon dot net>
This commit is contained in:
Remko Lodder 2008-05-31 19:10:24 +00:00
parent 080e01cf52
commit 09556065ef
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32111

View file

@ -367,13 +367,11 @@
<para>While every script must meet some minimal requirements, most
of the time these requirements are &os; version
agnostic. Each script must have a <filename>.sh</filename>
extension appended to the end and every script must be
executable by the system. The latter may be achieved by using
the <command>chmod</command> command and setting the unique permissions
of <literal>755</literal>. There should also be, at minimal,
an option to <literal>start</literal> the application and an
option to <literal>stop</literal> the application.</para>
agnostic. Each script must be executable by the system; this is
typically achieved by using the <command>chmod</command> command and
setting the unique permissions of <literal>555</literal>. There should
also be, at minimal, options to <literal>start</literal> and <literal>stop</literal>
the application.</para>
<para>The simplest start up script would probably look a little
bit like this one:</para>