Summary: This is just the basic stuff needed to produce a RPM package of Memgraph. Further work needs to be done in order for this to be up to snuff. Reviewers: mferencevic, buda Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1318
7 lines
300 B
Plaintext
7 lines
300 B
Plaintext
# Add the 'memgraph' user and group
|
|
getent group memgraph >/dev/null || groupadd -r memgraph || exit 1
|
|
getent passwd memgraph >/dev/null || \
|
|
useradd -r -g memgraph -d /var/lib/memgraph -s /bin/bash memgraph || exit 1
|
|
echo "Don't forget to switch to the 'memgraph' user to use Memgraph" || exit 1
|
|
|