When I try to download and install dgraph via
curl https://get.dgraph.io -sSf | bash -s -- --systemd it throws the following error:
Failed to start dgraph-alpha.service: Unit dgraph-alpha.service has a bad unit file setting. See system logs and 'systemctl status dgraph-alpha.service' for details. There was some problem while installing Dgraph. Please share the output of this script with us on https://discuss.dgraph.io so that we can resolve the issue for you.
Running the suggested command:
systemctl status dgraph-alpha.service ● dgraph-alpha.service - dgraph.io Alpha instance Loaded: bad-setting (Reason: Unit dgraph-alpha.service has a bad unit file setting.) Active: inactive (dead) systemd: /etc/systemd/system/dgraph-alpha.service:10: Executable "c" not found in path "/usr/local/sb> systemd: dgraph-alpha.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
I guess something is wrong with the systemd file generation. The installation without systemd works.
Dgraph version : v21.03.1 Dgraph codename : rocket-1 Dgraph SHA-256 : a00b73d583a720aa787171e43b4cb4dbbf75b38e522f66c9943ab2f0263007fe Commit SHA-1 : ea1cb5f35 Commit timestamp : 2021-06-17 20:38:11 +0530 Branch : HEAD Go version : go1.16.2 jemalloc enabled : true For Dgraph official documentation, visit https://dgraph.io/docs. For discussions about Dgraph , visit https://discuss.dgraph.io. For fully-managed Dgraph Cloud , visit https://dgraph.io/cloud. Licensed variously under the Apache Public License 2.0 and Dgraph Community License. Copyright 2015-2021 Dgraph Labs, Inc.
|Description:||Ubuntu 20.04.2 LTS|
curl https://get.dgraph.io -sSf | bash -s -- --systemd