Skip to content

Commit

Permalink
fix debian and windows reinstalls
Browse files Browse the repository at this point in the history
  • Loading branch information
Son Roy Almerol committed Nov 13, 2024
1 parent 7f068ae commit d4b22ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/package/debian/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ systemctl daemon-reload
systemctl enable pbs-plus.service

# Start the service
systemctl start pbs-plus.service
systemctl restart pbs-plus.service

exit 0
1 change: 1 addition & 0 deletions cmd/windows_agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func main() {
cmd := os.Args[1]
switch cmd {
case "install":
_ = s.Uninstall()
err = s.Install()
if err != nil {
logger.Errorf("Failed to install service: %s", err)
Expand Down

0 comments on commit d4b22ea

Please sign in to comment.