[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:slackware_admin:service [2019/02/21 10:16 (UTC)] – add exit 1 markand | howtos:slackware_admin:service [2019/02/21 13:22 (UTC)] (current) – markand | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <note warning> | ||
+ | |||
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 |
====== Style ====== | ====== Style ====== | ||
Line 191: | Line 193: | ||
;; | ;; | ||
*) | *) | ||
- | echo "usage: $0 {restart|start|status|stop}" | + | echo "Usage: $0 {restart|start|status|stop}" |
;; | ;; | ||
esac | esac |