fixed formatting for wp and spellcheck
This commit is contained in:
1 parent
d68c1a8187
commit
b3b93b28df
37 files changed
+283
-120
No files matched your search
+10
-12
@@ -5,13 +5,11 @@ layout: default
|
||||
|
||||
|
||||
Having installed `weave` as per [Installing Weave](/site/installing-weave.md), you might find it convenient to configure the
|
||||
init daemon to start Weave on boot. Most recent Linux distribution releases are
|
||||
shipping with [systemd](http://www.freedesktop.org/wiki/Software/systemd/). The information below should provide you with some
|
||||
initial guidance on getting a Weave service configured on a systemd-based OS.
|
||||
init daemon to start Weave on boot. Most recent Linux distribution releases ship with [systemd](http://www.freedesktop.org/wiki/Software/systemd/). The information below provides you with some initial guidance on getting a Weave Net service configured on a systemd-based OS.
|
||||
|
||||
## Weave Service Unit and Configuration
|
||||
## Weave Net Service Unit and Configuration
|
||||
|
||||
A regular service unit definition for Weave is shown below. This file is
|
||||
A regular service unit definition for Weave Net is shown below. This file is
|
||||
normally placed in `/etc/systemd/system/weave.service`.
|
||||
|
||||
[Unit]
|
||||
@@ -35,24 +33,24 @@ create the `/etc/sysconfig/weave` environment file using the following format:
|
||||
|
||||
You can also use the [`weave connect`](/site/using-weave/finding-adding-hosts-dynamically.md) command to add participating hosts dynamically.
|
||||
|
||||
Additionally, if you want to enable [encryption](/site/using-weave/security-untrusted-networks.md) you can specify a
|
||||
password with e.g. `WEAVE_PASSWORD="wfvAwt7sj"` in the `/etc/sysconfig/weave` environment file, and it will get picked up by
|
||||
Weave on launch. Recommendations for choosing a suitably strong password can be found [here](/site/using-weave/security-untrusted-networks.md).
|
||||
Additionally, if you want to enable [encryption](/site/using-weave/security-untrusted-networks.md) specify a
|
||||
password using `WEAVE_PASSWORD="wfvAwt7sj"` in the `/etc/sysconfig/weave` environment file, and it will get picked up by
|
||||
Weave Net on launch. Recommendations for choosing a suitably strong password can be found [here](/site/using-weave/security-untrusted-networks.md).
|
||||
|
||||
You can now launch Weave using
|
||||
You can now launch Weave Net using
|
||||
|
||||
sudo systemctl start weave
|
||||
|
||||
To ensure Weave launches after reboot, run:
|
||||
To ensure Weave Net launches after reboot, run:
|
||||
|
||||
sudo systemctl enable weave
|
||||
|
||||
For more information on systemd, please refer to the documentation supplied
|
||||
by your distribution of Linux.
|
||||
with your distribution of Linux.
|
||||
|
||||
## SELinux Tweaks
|
||||
|
||||
If your OS has SELinux enabled and you want to run Weave as a systemd unit,
|
||||
If your OS has SELinux enabled and you want to run Weave Net as a systemd unit,
|
||||
then follow the instructions below. These instructions apply to
|
||||
CentOS and RHEL as of 7.0. On Fedora 21, there is no need to do this.
|
||||
|
||||
|
||||
Reference in new issue
Block a user