fs

morpheus filesystem files
git clone git://git.2f30.org/fs
Log | Files | Refs

commit ce8805e072f2c609909ff543e1d2d31d4bc71e1c
parent ff7a7345f49d450f12f0b54124aed57bceb158e5
Author: sin <sin@2f30.org>
Date:   Mon, 17 Feb 2014 14:03:43 +0000

Add usage examples for svc

Diffstat:
Mbin/svc | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/bin/svc b/bin/svc @@ -21,6 +21,17 @@ #LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #DEALINGS IN THE SOFTWARE. +# +# % svc -a # list all links in /bin/svc.d/run (all activated services) +# % svc -a ser # activate service to be run on startup +# % svc -c # create the basic directories of svc (configure) +# % svc -d ser # deactivate service +# % svc -k # kill all services linked to /bin/svc.d/run +# % svc -k ser # kill service +# % svc -s # run all services linked to /bin/svc.d/run +# % svc -s ser # run service +# % svc -l # list all services in /bin/svc.d/avail +# % svc -r ser # restart service BASEDIR="/bin/svc.d" BASENAME="$(basename $0)"