Skip to content

Commit

Permalink
Merge pull request #55 from sacherjj/debugging_cargo_deb_problems
Browse files Browse the repository at this point in the history
Reformat Cargo.toml to fix changes with cargo-deb.
  • Loading branch information
sacherjj authored Aug 4, 2023
2 parents 899ba74 + a72dabc commit c1750ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
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.

15 changes: 9 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "casper-node-launcher"
version = "1.0.2"
version = "1.0.3"
authors = ["Fraser Hutchison <[email protected]>", "Joe Sacher <[email protected]>"]
edition = "2018"
description = "A binary which runs and upgrades the casper-node of the Casper network"
Expand Down Expand Up @@ -46,15 +46,20 @@ maintainer-scripts = "./resources/maintainer_scripts/debian"
extended-description = """
Package for Casper Node Launcher
For information on using package, see https://github.com/CasperLabs/casper-node-launcher
For information on using package, see https://github.com/casper-network/casper-node-launcher
"""

[package.metadata.deb.variants.focal]
# no changes


[package.metadata.deb.systemd-units]
unit-scripts = "./resources/maintainer_scripts/casper_node_launcher"
unit-name = "casper-node-launcher"
enable = true
unit-scripts = "resources/maintainer_scripts/casper_node_launcher"
start = false
restart-after-upgrade = false
stop-on-upgrade = false


[package.metadata.rpm]
package = "casper-node-launcher"
Expand All @@ -71,10 +76,8 @@ casper-node-launcher = { path = "/usr/bin/casper-node-launcher" }
"../../resources/BIN_README.md" = {path = "/var/lib/casper/bin/README.md"}
"../../resources/PLATFORM_RPM" = {path = "/etc/casper/PLATFORM"}
"../../resources/maintainer_scripts/logrotate.d/casper-node" = {path = "/etc/logrotate.d/casper-node"}
"../../resources/maintainer_scripts/pull_casper_node_version.sh" = {path = "/etc/casper/pull_casper_node_version.sh"}
"../../resources/maintainer_scripts/network_configs/casper.conf" = {path = "/etc/casper/network_configs/casper.conf"}
"../../resources/maintainer_scripts/network_configs/casper-test.conf" = {path = "/etc/casper/network_configs/casper-test.conf"}
"../../resources/maintainer_scripts/config_from_example.sh" = {path = "/etc/casper/config_from_example.sh"}
"../../resources/maintainer_scripts/node_util.py" = {path = "/etc/casper/node_util.py"}
"../../resources/ETC_README.md" = {path = "/etc/casper/README.md"}
"../../resources/VALIDATOR_KEYS_README.md" = {path = "/etc/casper/validator_keys/README.md"}
Expand Down

0 comments on commit c1750ce

Please sign in to comment.