1

Fix deb build issues

This commit is contained in:
Evan Pratten 2023-08-03 20:30:13 -04:00
parent 213a49db14
commit 025ba7e8d1
3 changed files with 12 additions and 5 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[registries.crates-io]
protocol = "sparse"

View File

@ -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
View File

@ -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