Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Update screenshots and captions in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Davenchy committed Nov 25, 2023
1 parent 2b68609 commit 7f4d4ee
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,20 @@ chmod +x service_generator

![](./screens/edit_service.png)

- Set manual directive `Service,ExecStart` to `my_binary`
- Set the service working directory to the current location using option 5
- Finally set the user to `davenchy` using option 6
- Set manual directive `Service:ExecStart` to `my_binary`
- Set the service working directory to the current location using option 6
- Finally set the user to `davenchy` using option 7

![](./screens/set_service_directives.png)

- Save Service

![](./screens/save_service.png)

- Let's check the final results using the List option

![](./screens/list_service.png)

## Help Messages

### Control Mode
Expand Down
Binary file modified screens/control_service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/create_service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/edit_service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screens/list_service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/save_service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/search_service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/set_service_directives.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion service_generator
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,9 @@ function CreateService {
# get service name
while true; do
read -re -p "${GREEN}Enter service name: ${YELLOW}" -i "$service_name" service_name
read -re -p "${GREEN}Enter service name (leave empty to cancel): ${YELLOW}" -i "$service_name" service_name
# Check for process abort
[ -z "$service_name" ] && return 1
# if no service exists with the same name then goto next step
ServiceExists "$service_name" || break
# display error and loop if service with the same name exists
Expand Down

0 comments on commit 7f4d4ee

Please sign in to comment.