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
dd6aa73a
Unverified
Commit
dd6aa73a
authored
Jan 18, 2021
by
Attila Lendvai
Committed by
GitHub
Jan 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bee.service: make EnvironmentFile optional (#1115)
parent
96e1d75d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
start.go
cmd/bee/cmd/start.go
+1
-1
bee.service
packaging/bee.service
+1
-1
postinst
packaging/deb/postinst
+2
-2
No files found.
cmd/bee/cmd/start.go
View file @
dd6aa73a
...
...
@@ -107,7 +107,7 @@ Welcome to the Swarm.... Bzzz Bzzzz Bzzzz
! `
fmt
.
Println
(
beeASCII
)
logger
.
Debug
f
(
"version: %v"
,
bee
.
Version
)
logger
.
Info
f
(
"version: %v"
,
bee
.
Version
)
debugAPIAddr
:=
c
.
config
.
GetString
(
optionNameDebugAPIAddr
)
if
!
c
.
config
.
GetBool
(
optionNameDebugAPIEnable
)
{
...
...
packaging/bee.service
View file @
dd6aa73a
...
...
@@ -4,7 +4,7 @@ Documentation=https://docs.ethswarm.org
After=network.target
[Service]
EnvironmentFile=/etc/default/bee
EnvironmentFile=
-
/etc/default/bee
NoNewPrivileges=true
User=bee
Group=bee
...
...
packaging/deb/postinst
View file @
dd6aa73a
...
...
@@ -4,7 +4,7 @@ if [ "$1" = "configure" ]; then
if
[
-z
"
$2
"
]
;
then
# initial installation
if
[
!
-f
/var/lib/bee/keys/libp2p.key
]
;
then
/usr/bin/bee init
--config
/etc/bee/bee.yaml
>
/dev/null
2>&1
/usr/bin/bee init
--config
/etc/bee/bee.yaml
>
/dev/null
chown
-R
bee:bee /var/lib/bee/keys
fi
echo
"
...
...
@@ -40,4 +40,4 @@ After you finish configuration run 'sudo bee-get-addr'.
deb-systemd-invoke start bee.service
>
/dev/null
||
true
fi
fi
fi
\ No newline at end of file
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