Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:slackware_admin:service [2019/02/21 10:16 (UTC)]
markand add exit 1
howtos:slackware_admin:service [2019/02/21 13:22 (UTC)]
markand
Line 1: Line 1:
 +<note warning>​This document is a draft proposal for a guidelines towards Slackware service files.</​note>​
 +
 Slackware uses a simple BSD style init script system. Slackware uses a simple BSD style init script system.
  
 Following the Slackware philosophy, init scripts are quite simple and do not perform any kind of black magic. For example, there are no dependencies between init scripts or monitoring. Following the Slackware philosophy, init scripts are quite simple and do not perform any kind of black magic. For example, there are no dependencies between init scripts or monitoring.
  
-In this section we will cover the creation of a usual script. Please follow the template as much as possible, we do like consistency.+In this section we will cover the creation of a usual script. Please follow the template as much as possible ​for consistency ​with all scripts.
  
 ====== Style ====== ====== Style ======
Line 191: Line 193:
  ;;  ;;
 *) *)
- echo "usage: $0 {restart|start|status|stop}"​+ echo "Usage: $0 {restart|start|status|stop}"​
  ;;  ;;
 esac esac

In Other Languages
QR Code
QR Code howtos:slackware_admin:service (generated for current page)