summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima2021-02-28 18:38:47 +0100
committerMatheus Gabriel Werny de Lima2021-02-28 18:38:47 +0100
commitca062fe90ab675440d7c5153f7f1e4cf25e1b4da (patch)
tree126bcd8f1d3f52009e84aba93b83c5755ee51c46
parent210027aeb26c2e89dce56fdf25867452ff889856 (diff)
downloadaur-ca062fe90ab675440d7c5153f7f1e4cf25e1b4da.tar.gz
Updated the service.
-rwxr-xr-xPKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bc10a45cfa3..eb797a4dd5b 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,11 +54,12 @@ package()
# Create the systemd service.
echo -e "[Unit]
Description=${pkgdesc}
- After=network-online.target
+ Requires=bitcoind.service
+ After=bitcoind.service
+ After=network.target
[Service]
Type=oneshot
- ExecStartPre=/usr/bin/bitcoind -daemon
ExecStart=/usr/bin/${_pkgname_lc}
Restart=on-failure