v0.4

a tiny service manager written in rc

22 L
10 L
45 L
62 L

readme

 1rcsm
 2----
 3
 4A tiny service manager written in rc.
 5It doesnt really do much, appart from starting and killing services.
 6So no logging, no monitoring, just start/stop.
 7
 8It follows the same concept as shsm[0], but is about half the LOCs.
 9
10
11Install
12-------
13
14	$ make install
15
16
17Usage
18-----
19rcsm [flag] [args]
20-a	- Activate service.
21-c  - Create neccessary directories.
22-d  - Deactivate services.
23-h  - Show usage message.
24-k  - Kill services.
25-l  - List available services.
26-s  - Start services.
27-r  - Restart services.
28
29Some flags have additional functionallity when ran without arguments:
30-a  - Lists activated services.
31-k  - Kill all activated services.
32-s  - Start all activated services.
33
34Some flags also supports multiple arguments: -a -d -k -s -r
35
36
37Service scripts
38---------------
39Service scripts are rather simple, and have only 2 requirements:
40Accepting -s/-k flags.
41Which gives users the freedom to use whichever language/shell they like for
42service scripts.
43
44[0] https://github.com/hovercats/shsm