5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 10:40:27 +00:00

Update README.md for Linux/systemd too

This commit is contained in:
Neil Alexander 2018-02-16 14:19:26 +00:00
parent c453770b85
commit d02250c94d

View File

@ -52,15 +52,12 @@ In the interest of testing the TCP machinery, it's set to create TCP connections
#### Linux #### Linux
- Should work out of the box on most Linux distributions with `iproute2` installed. - Should work out of the box on most Linux distributions with `iproute2` installed.
- systemd service scripts are included in the `contrib/systemd/` folder so that it runs automatically in the background (using `/etc/yggdrasil.conf` for configuration): - systemd service scripts are included in the `contrib/systemd/` folder so that it runs automatically in the background (using `/etc/yggdrasil.conf` for configuration), copy the service files into `/etc/systemd/system`, copy `yggdrasil` into your `$PATH`, i.e. `/usr/bin`, and then enable the service:
- Copy the service files into `/etc/systemd/system`
- Copy `yggdrasil` into your `$PATH`, i.e. `/usr/bin`
- Enable the service:
``` ```
systemctl enable yggdrasil systemctl enable yggdrasil
systemctl start yggdrasil systemctl start yggdrasil
``` ```
- Read the `yggdrasil` output: - Once installed as a systemd service, you can read the `yggdrasil` output:
``` ```
systemctl status yggdrasil systemctl status yggdrasil
journalctl -u yggdrasil journalctl -u yggdrasil