Skip to content

Commit

Permalink
Release v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Aug 10, 2023
1 parent a78a190 commit 6c9c31b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v1.2.1 (2023-08-10)

* Fixed: Possible case in which old log files would not be deleted.
(Contributed by [Luokun2016](https://github.com/mtkennerly/shawl/pull/33))
* Added: Some guidance in the README related to security.
(Contributed by [kenvix](https://github.com/mtkennerly/shawl/pull/32))

## v1.2.0 (2023-05-19)

* Fixed: When both `--cwd` and `--path` were specified,
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shawl"
version = "1.2.0"
version = "1.2.1"
authors = ["mtkennerly <mtkennerly@gmail.com>"]
edition = "2018"
description = "Windows service wrapper for arbitrary commands"
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,15 @@ change the account used by the service instead.

Also note that running a service with a Local System account is as **dangerous**
as running a Unix service as root. This greatly increases the risk of your system
being hacked if you expose a port to the public for the service you are going to
wrap. It is recommended that you use a restricted account, such as [Network Service](
https://learn.microsoft.com/en-us/windows/win32/services/networkservice-account),
to run services. To do this, first grant the Network Service account read, write,
and execute permissions on Shawl’s installation directory, and then execute
being hacked if you expose a port to the public for the service you are going to
wrap. It is recommended that you use a restricted account, such as
[Network Service](https://learn.microsoft.com/en-us/windows/win32/services/networkservice-account),
to run services. To do this, first grant the Network Service account read, write,
and execute permissions on Shawl’s installation directory, and then execute
`sc config my-app obj= "NT AUTHORITY\Network Service" password= ""`. If the service
needs to read and write files, you may also need to grant the Network Service
permissions to the directory that the service wants to access. More information
about Windows service user accounts can be found [here](
https://stackoverflow.com/questions/510170/the-difference-between-the-local-system-account-and-the-network-service-acco).
needs to read and write files, you may also need to grant the Network Service
permissions to the directory that the service wants to access. More information
about Windows service user accounts can be found [here](https://stackoverflow.com/questions/510170).

## Installation
* Prebuilt binaries are available on the
Expand Down

0 comments on commit 6c9c31b

Please sign in to comment.