summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima2021-02-27 17:51:44 +0100
committerMatheus Gabriel Werny de Lima2021-02-27 17:51:44 +0100
commit5f54508729a586fb7b780e39c07c38d781195f3b (patch)
treee0eec84a0eb1d44cbdade053b77d4951b60b3056
parentdda1b34c6b96b7167aca31f5cc65615dfb1838eb (diff)
downloadaur-5f54508729a586fb7b780e39c07c38d781195f3b.tar.gz
Update.
-rwxr-xr-x.SRCINFO1
-rwxr-xr-xPKGBUILD6
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7bc5e5cea82..8fa4baffcea 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,6 +11,7 @@ pkgbase = nbxplorer-git
depends = dotnet-host
depends = dotnet-runtime
depends = dotnet-sdk
+ provides = nbxplorer
conflicts = nbxplorer
source = git+https://github.com/dgarage/NBXplorer.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index fc71f4b3fd2..61dd81780bd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ depends=("aspnet-runtime" "bitcoin-daemon" "dotnet-host" "dotnet-runtime" "dotne
makedepends=("git")
checkdepends=()
optdepends=()
-provides=()
+provides=(${_pkgname_lc})
conflicts=("nbxplorer")
replaces=()
backup=()
@@ -54,13 +54,13 @@ package()
# Create the systemd service.
echo -e "[Unit]
Description=${pkgdesc}
+ Requires=bitcoind.service
After=bitcoind.service
- After=network.target
+ After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/${_pkgname_lc}
- RemainAfterExit=yes
Restart=on-failure
[Install]