diff --git a/contrib/init/README.md b/contrib/init/README.md index 1dc3a14554..493bd3d600 100644 --- a/contrib/init/README.md +++ b/contrib/init/README.md @@ -1,6 +1,6 @@ Sample configuration files for: ``` -SystemD: dashd.service +systemd: dashd.service Upstart: dashd.conf OpenRC: dashd.openrc dashd.openrcconf @@ -9,4 +9,4 @@ macOS: org.dash.dashd.plist ``` have been made available to assist packagers in creating node packages here. -See doc/init.md for more information. +See [doc/init.md](../../doc/init.md) for more information. diff --git a/contrib/init/dashd.service b/contrib/init/dashd.service index 5dfd7c0c4d..6f960455eb 100644 --- a/contrib/init/dashd.service +++ b/contrib/init/dashd.service @@ -11,7 +11,11 @@ [Unit] Description=Dash daemon -After=network.target +Documentation=https://github.com/dashpay/dash/blob/master/doc/init.md + +# https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ +After=network-online.target +Wants=network-online.target [Service] ExecStart=/usr/bin/dashd -daemon \