Skip to content

hovercats/rcsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rcsm
----

A tiny service manager written in rc.
Rcsm only supports the bare minimum of features, meaning start/stop
services. So no logging, no monitoring etc, thus keeping things simple.
This could however instead be implemented into users own service 
scripts, should users choose to do so.

It follows the same concept as shsm[0], but is about half the LOCs.


Install
-------

	$ make install


Usage
-----
rcsm [flag] [args]
-a  - Activate service.
-c  - Create neccessary directories.
-d  - Deactivate services.
-h  - Show usage message.
-k  - Kill services.
-l  - List available services.
-s  - Start services.
-r  - Restart services.

Some flags have additional functionallity when ran without arguments:
-a  - Lists activated services.
-k  - Kill all activated services.
-s  - Start all activated services.

Some flags also supports multiple arguments: -a -d -k -s -r


Service scripts
---------------
Service scripts are language-agnostic, thus giving users the freedom
to use any language/shell they like.
Service scripts has 2 (technically optional) requirements:
Accepting -s/-k flags.

[0] https://github.com/hovercats/shsm

About

a tiny service manager written in rc

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published