Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
mirsella authored Mar 5, 2024
1 parent 40a7925 commit ae4d156
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
# bonus
# program management like supervisor
example configuration file:
```toml
loglevel = "trace"

[[program]]
name = "short"
command = "date"
processes = 1
start_policy = "auto"
valid_exit_codes = [0]
stdout = "./test.log"
stdout_truncate = false

[[program]]
name = "long"
command = "sleep"
args = ["15"]

[[program]]
name = "never ending"
command = "yes"
```

![terminal ui screenshot](https://github.com/mirsella/taskmaster/assets/45905567/47b97736-9987-490f-89a0-3fd204137151)

# school bonus

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

0 comments on commit ae4d156

Please sign in to comment.