Skip to content

Commit ae4d156

Browse files
authored
Update readme.md
1 parent 40a7925 commit ae4d156

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

readme.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
1-
# bonus
1+
# program management like supervisor
2+
example configuration file:
3+
```toml
4+
loglevel = "trace"
5+
6+
[[program]]
7+
name = "short"
8+
command = "date"
9+
processes = 1
10+
start_policy = "auto"
11+
valid_exit_codes = [0]
12+
stdout = "./test.log"
13+
stdout_truncate = false
14+
15+
[[program]]
16+
name = "long"
17+
command = "sleep"
18+
args = ["15"]
19+
20+
[[program]]
21+
name = "never ending"
22+
command = "yes"
23+
```
24+
25+
![terminal ui screenshot](https://github.com/mirsella/taskmaster/assets/45905567/47b97736-9987-490f-89a0-3fd204137151)
26+
27+
# school bonus
228

329
- Launch a program as another user
430
- Advanced logging (stdout, file, journald)

0 commit comments

Comments
 (0)