Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Josh Wilcox
crown-core
Commits
07f2a4a2
Commit
07f2a4a2
authored
6 years ago
by
Hypermist
Browse files
Options
Download
Email Patches
Plain Diff
Script Updates
parent
1977d550
master
89-merge-0.11-1st-stage
89-merge-bitcoin-latest-changes-0.10
Current-dev
add-testnet-option-to-script
calculate-score-unit-tests
setup-script-edits
translation-doc-updates
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/crown-server-install.sh
+4
-5
scripts/crown-server-install.sh
with
4 additions
and
5 deletions
+4
-5
scripts/crown-server-install.sh
View file @
07f2a4a2
...
...
@@ -110,8 +110,7 @@ handle_arguments()
}
install_dependencies
()
{
sudo
apt-get
install
ufw
-y
sudo
apt-get
install
unzip
-y
sudo
apt-get
install
ufw unzip
-y
}
create_swap
()
{
...
...
@@ -184,12 +183,12 @@ configure_firewall() {
}
add_cron_job
()
{
(
crontab
-l
2>/dev/null
;
echo
"@reboot
sudo
/usr/local/bin/crownd"
)
| crontab -
(
crontab
-l
2>/dev/null
;
echo
"@reboot /usr/local/bin/crownd"
)
| crontab -
}
main
()
{
# Stop crownd (in case it's running)
sudo
crown-cli stop
/usr/local/bin/
crown-cli stop
# Install Packages
install_dependencies
# Download the latest release
...
...
@@ -210,7 +209,7 @@ main() {
add_cron_job
fi
# Start Crownd to begin sync
sudo
crownd
/usr/local/bin/
crownd
}
handle_arguments
"
$@
"
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help