doing fix

This commit is contained in:
Alex Janka 2024-02-12 08:40:59 +11:00
parent cad69648a2
commit 247b67b30c
2 changed files with 3 additions and 4 deletions

View file

@ -9,17 +9,17 @@ url="https://git.alexjanka.com/alex/auth-callback-watcher"
license=('custom') license=('custom')
depends=('gcc-libs') depends=('gcc-libs')
makedepends=('cargo') makedepends=('cargo')
source=("tesla-auth-callback-watcher::git+gitea@git.alexjanka.com:alex/auth-callback-watcher.git") source=("auth-callback-watcher::git+https://git.alexjanka.com/alex/auth-callback-watcher")
sha512sums=('SKIP') sha512sums=('SKIP')
build() { build() {
cd "$pkgname" cd "auth-callback-watcher"
cargo build --release --locked cargo build --release --locked
} }
package() { package() {
cd "$pkgname" cd "auth-callback-watcher"
install -Dm755 "target/release/tesla-auth-callback-watcher" "$pkgdir/usr/bin/tesla-auth-callback-watcher" install -Dm755 "target/release/tesla-auth-callback-watcher" "$pkgdir/usr/bin/tesla-auth-callback-watcher"
install -D -m 0644 package/tesla-auth-callback-watcher.service "${pkgdir}/usr/lib/systemd/system/tesla-auth-callback-watcher.service" install -D -m 0644 package/tesla-auth-callback-watcher.service "${pkgdir}/usr/lib/systemd/system/tesla-auth-callback-watcher.service"

View file

@ -7,7 +7,6 @@ StartLimitIntervalSec=0
Type=simple Type=simple
Restart=always Restart=always
RestartSec=10s RestartSec=10s
User=tesla
Environment="RUST_LOG=error,warn" Environment="RUST_LOG=error,warn"
Environment="LOG_TIMESTAMP=false" Environment="LOG_TIMESTAMP=false"
ExecStart=/usr/bin/tesla-auth-callback-watcher ExecStart=/usr/bin/tesla-auth-callback-watcher