Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
9c8de01d
Unverified
Commit
9c8de01d
authored
Nov 21, 2020
by
Ivan Vandot
Committed by
GitHub
Nov 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix post script for rpm (#991)
parent
f9260447
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
post
packaging/rpm/post
+5
-4
No files found.
packaging/rpm/post
View file @
9c8de01d
...
@@ -18,16 +18,17 @@ if [ $1 -eq 1 ] ; then
...
@@ -18,16 +18,17 @@ if [ $1 -eq 1 ] ; then
systemctl --no-reload preset bee.service &>/dev/null || :
systemctl --no-reload preset bee.service &>/dev/null || :
systemctl --no-reload enable bee.service &>/dev/null || :
systemctl --no-reload enable bee.service &>/dev/null || :
echo "If you enabled external signer. Run"
echo "If you enabled external signer. Run"
echo "
/usr/bin/bee init --config /etc/bee/bee.yaml 2>&1 | grep ethereum | cut -d' ' -f6 | tr -d '
"'"
echo "
sudo /usr/bin/bee init --config /etc/bee/bee.yaml 2>&1 | grep ethereum | cut -d' ' -f6 | tr -d '\
"'"
echo "Prefund that address at https://faucet.ethswarm.org"
echo "Prefund that address at https://faucet.ethswarm.org"
echo "Service already enabled, after initial configuration."
echo "Service already enabled, after initial configuration."
echo "Start service with systemctl --no-reload start bee.service"
echo "Start service with systemctl --no-reload start bee.service"
fi
fi
if [ -S /var/lib/bee-clef/clef.ipc ]; then
chmod 660 /var/lib/bee-clef/clef.ipc
fi
if [ $1 -eq 2 ] ; then
if [ $1 -eq 2 ] ; then
# Upgrade
# Upgrade
if [ -S /var/lib/bee-clef/clef.ipc ]; then
chmod 660 /var/lib/bee-clef/clef.ipc
fi
systemctl --no-reload restart bee.service &>/dev/null || :
systemctl --no-reload restart bee.service &>/dev/null || :
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment