Add Debian Configuration
All checks were successful
Run Tests on Code / run-tests (push) Successful in 28s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 28s
This commit is contained in:
parent
ad53bc9ee3
commit
34883f2d5c
2 changed files with 31 additions and 0 deletions
18
Cargo.toml
18
Cargo.toml
|
@ -1,7 +1,25 @@
|
||||||
[package]
|
[package]
|
||||||
|
authors = ["Neshura"]
|
||||||
name = "kavita-web-manager-api"
|
name = "kavita-web-manager-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
description = "API Backend For Easier Uploading To Kavita"
|
||||||
|
license = "GPL-3.0-or-later"
|
||||||
|
|
||||||
|
|
||||||
|
[package.metadata.deb]
|
||||||
|
extended-description = "API Backend For Easier Uploading To Kavita"
|
||||||
|
maintainer-scripts = "debian/"
|
||||||
|
revision = "1"
|
||||||
|
depends = ["libc6", "libssl3", "systemd"]
|
||||||
|
assets = [
|
||||||
|
[
|
||||||
|
"target/release/kavita-web-manager-api",
|
||||||
|
"/usr/local/bin/kavita-web-manager-api",
|
||||||
|
"755",
|
||||||
|
]
|
||||||
|
]
|
||||||
|
systemd-units = { enable = false }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
axum = "0.7"
|
axum = "0.7"
|
||||||
|
|
13
debian/kavita-web-manager-api.service
vendored
Normal file
13
debian/kavita-web-manager-api.service
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description="Application for automatically updating Cloudflare DNS records"
|
||||||
|
After=syslog.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/local/bin/kavita-web-manager-api
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue