-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
46 lines (34 loc) · 1.11 KB
/
Copy pathREADME
File metadata and controls
46 lines (34 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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