标签归档:LSB

How to Write Linux Init Scripts Based on LSB Init Standard

LSB stands for Linux Standard Base.

LSB was started by Linux Foundation to reduce the difference between several Linux distributions, and thereby reducing the cost involved in porting between different distributions. Init scripts are one among them to be standardized.

In this article, we will see how to write an Init script that conforms to LSBInit Standard.

Init scripts are used to start|stop a software|service. For example, if you are using postgresql software, we will have a Init script named ‘/etc/init.d/postgresql’ which can be used to ‘start|stop|restart|reload|force-reload|status’. 继续阅读

Linux Standard Base

Linux Standard BaseSpecifications Archive

The LSB 5 Specification Series

The Linux Standard Base is now on LSB 5. A further evolution of the specification, with considerable internal restructuring, finally delivering on a modular LSB.

The LSB 5.0 Specification

This is the approved final version of the LSB 5.0 specification. The tables below present two popular formats, you may also go to the page with all formats.

Release notes outlining changes from the previous release of the specification can be found at http://www.linuxfoundation.org/en/ReleaseNotes50

Note that the LSB 5.0 Core specification set is an evolution of the ISO/IEC International Standard 23360, which corresponded to LSB 3.1. This edition is not to be considered an ISO standard.

LSB 5.0 was released June 3, 2015. 继续阅读