packaging updates

This commit is contained in:
Alex Janka 2024-02-25 12:29:00 +11:00
parent 4940ced069
commit d343d6cc51
2 changed files with 2 additions and 2 deletions

View file

@ -22,5 +22,5 @@ package() {
cd "homekit-logger"
install -Dm755 "target/release/homekit-exporter" "$pkgdir/usr/bin/homekit-exporter"
install -D -m 0644 packaging/service/service "${pkgdir}/usr/lib/systemd/system/homekit-exporter.service"
install -D -m 0644 homekit-exporter/packaging/service/service "${pkgdir}/usr/lib/systemd/system/homekit-exporter.service"
}

View file

@ -13,7 +13,7 @@ mod server;
#[derive(Parser, Debug, Clone)]
#[clap(author, version, about, long_about = None)]
struct Args {
#[clap(long)]
#[clap(long, default_value = "/etc/homekit-exporter/pairing.json")]
pairing_data: PathBuf,
#[clap(long, default_value_t = 6666)]
port: usize,