diff options
Diffstat (limited to 'dgraph-zero.service')
-rw-r--r-- | dgraph-zero.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dgraph-zero.service b/dgraph-zero.service new file mode 100644 index 000000000000..319ffad67139 --- /dev/null +++ b/dgraph-zero.service @@ -0,0 +1,11 @@ +[Unit] +Description=Dgraph database controller + +[Service] +ExecStart=/usr/bin/dgraph zero -w /var/lib/dgraph/data/zw +Restart=on-failure +RestartSec=1 + +[Install] +WantedBy=multi-user.target + |