mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
11 lines
280 B
Bash
Executable file
11 lines
280 B
Bash
Executable file
#!/bin/bash
|
|
# This is a postinstallation script so the service can be configured and started when requested
|
|
#
|
|
if [ -d "/var/lib/bor" ]
|
|
then
|
|
echo "Directory /var/lib/bor exists."
|
|
else
|
|
mkdir -p /var/lib/bor
|
|
sudo chown -R bor /var/lib/bor
|
|
fi
|
|
sudo systemctl daemon-reload
|