Skip to content

Commit

Permalink
Disable innernet systemd units on uninstall (#884)
Browse files Browse the repository at this point in the history
* Fix #779

* Update to rust:v3.1

* Update innernet to v1.6.1
  • Loading branch information
Eeems committed Oct 12, 2024
1 parent 52275b0 commit 137bfb1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package/innernet/package
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@ configure() {
mkdir -p /opt/var/lib/innernet
fi
}

preremove() {
disable-unit innernet.target
disable-unit [email protected]
}

postremove() {
systemctl daemon-reload
}

0 comments on commit 137bfb1

Please sign in to comment.