Fix deb build issues
This commit is contained in:
parent
213a49db14
commit
025ba7e8d1
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[registries.crates-io]
|
||||
protocol = "sparse"
|
13
Cargo.toml
13
Cargo.toml
@ -90,9 +90,14 @@ assets = [
|
||||
"755",
|
||||
],
|
||||
[
|
||||
"./protomask.toml",
|
||||
"/etc/protomask.toml",
|
||||
"644",
|
||||
"target/release/protomask-clat",
|
||||
"/usr/local/bin/protomask-clat",
|
||||
"755",
|
||||
],
|
||||
[
|
||||
"target/release/protomask-6over4",
|
||||
"/usr/local/bin/protomask-6over4",
|
||||
"755",
|
||||
],
|
||||
[
|
||||
"README.md",
|
||||
@ -100,7 +105,7 @@ assets = [
|
||||
"644",
|
||||
],
|
||||
]
|
||||
conf-files = ["/etc/protomask.toml"]
|
||||
conf-files = []
|
||||
depends = []
|
||||
maintainer-scripts = "./debian/"
|
||||
systemd-units = { enable = false }
|
||||
|
2
debian/service
vendored
2
debian/service
vendored
@ -3,7 +3,7 @@ Description = Protomask
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
ExecStart = /usr/local/bin/protomask /etc/protomask.toml
|
||||
ExecStart = /usr/local/bin/protomask --pool-file /etc/protomask/pool.txt
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user