doing fix
This commit is contained in:
parent
cad69648a2
commit
247b67b30c
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue