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",
|
"755",
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"./protomask.toml",
|
"target/release/protomask-clat",
|
||||||
"/etc/protomask.toml",
|
"/usr/local/bin/protomask-clat",
|
||||||
"644",
|
"755",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"target/release/protomask-6over4",
|
||||||
|
"/usr/local/bin/protomask-6over4",
|
||||||
|
"755",
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"README.md",
|
"README.md",
|
||||||
@ -100,7 +105,7 @@ assets = [
|
|||||||
"644",
|
"644",
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
conf-files = ["/etc/protomask.toml"]
|
conf-files = []
|
||||||
depends = []
|
depends = []
|
||||||
maintainer-scripts = "./debian/"
|
maintainer-scripts = "./debian/"
|
||||||
systemd-units = { enable = false }
|
systemd-units = { enable = false }
|
||||||
|
2
debian/service
vendored
2
debian/service
vendored
@ -3,7 +3,7 @@ Description = Protomask
|
|||||||
After = network.target
|
After = network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart = /usr/local/bin/protomask /etc/protomask.toml
|
ExecStart = /usr/local/bin/protomask --pool-file /etc/protomask/pool.txt
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user