Skip to content

Commit

Permalink
all: imp code && docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Dec 27, 2021
1 parent bab9536 commit 59f058f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ and this project adheres to

### Fixed

- Service stoppage on `uninstall` action ([#3868]).
- Service not being stopped before running the `uninstall` service action
([#3868]).
- Legacy DNS rewrites responding from upstream when a request other than `A` or
`AAAA` is received ([#4008]).
- Panic on port availability check during installation ([#3987]).
Expand Down
1 change: 0 additions & 1 deletion internal/home/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,6 @@ pidfile_child="/var/run/${name}.pid"
pidfile="/var/run/${name}_daemon.pid"
command="/usr/sbin/daemon"
command_args="-P ${pidfile} -p ${pidfile_child} -f -r {{.WorkingDirectory}}/{{.Name}}"
extra_commands=reload
run_rc_command "$1"
`

Expand Down
3 changes: 2 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ handle_existing() {
"to reinstall/uninstall the AdGuard Home using this script specify one of the '-r' or '-u' flags"
fi

if ( cd "$agh_dir" && ! ./AdGuardHome -s uninstall )
# TODO(e.burkov): Remove the stop once v0.107.1 released.
if ( cd "$agh_dir" && ! ./AdGuardHome -s stop || ! ./AdGuardHome -s uninstall )
then
# It doesn't terminate the script since it is possible
# that AGH just not installed as service but appearing
Expand Down

0 comments on commit 59f058f

Please sign in to comment.