Skip to content

Commit

Permalink
Merge pull request #875 from andrewdavidmackenzie/dependabot/cargo/se…
Browse files Browse the repository at this point in the history
…rvice-manager-0.8.0

Bump service-manager from 0.7.1 to 0.8.0
  • Loading branch information
andrewdavidmackenzie authored Feb 26, 2025
2 parents 9f4fe14 + 06a5819 commit 8eabf8a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ target/
# These are backup files generated by rustfmt
**/*.rs.bk

**/dist

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

Expand Down
4 changes: 2 additions & 2 deletions 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 piglet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ futures = { version = "0.3.31", default-features = false }
tokio = { version = "1.43", default-features = false, features = ["time", "rt", "rt-multi-thread", "macros"] }
log = { version = "0.4.26", default-features = false }
sysinfo = { version = "0.33", default-features = false, features = ["system"] }
service-manager = { version = "0.7.1", default-features = false }
service-manager = { version = "0.8.0", default-features = false }
clap = { version = "4.5.31", default-features = false, features = ["std", "help", "error-context"] }
serde_json = { version = "1.0.139", default-features = false, features = ["std"] }

Expand Down
1 change: 1 addition & 0 deletions piglet/src/piglet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ fn install_service(service_name: &ServiceLabel, exec_path: &Path) -> Result<(),
working_directory: Some(exec_dir),
environment: None, // Optional list of environment variables to supply the service process.
autostart: true,
disable_restart_on_failure: false,
})?;

// Start our service using the underlying service management platform
Expand Down

0 comments on commit 8eabf8a

Please sign in to comment.