service-tools/README.md

35 lines
649 B
Markdown
Raw Permalink Normal View History

2018-03-13 12:09:34 +08:00
# service-tools
A growing collection of convenient little tools to work with systemd services
## Overview
### service-generator
A tool to generate systemd Unit files (newthing.service)
To generate a new service file non-interactively simply call:
```
2018-03-13 12:17:17 +08:00
$ service-generator create /path/to/executable "Some description"
2018-03-13 12:09:34 +08:00
```
If you prefer a terminal UI, you can launch it with just an executable or no
arguments at all:
```
2018-03-13 12:17:17 +08:00
$ service-generator create
2018-03-13 12:09:34 +08:00
```
2018-03-19 04:27:53 +08:00
### service-monitor
A monitor for systemd Units
2018-03-20 11:43:23 +08:00
![service-monitor screenshot](screenshots/service-monitor.png)
2018-03-19 04:27:53 +08:00
```
$ service-monitor logs
```
2018-03-13 12:09:34 +08:00
See `--help` for all commands and options.