Actualiser README.md
This commit is contained in:
parent
4757feb57d
commit
b3c6db4cf8
40
README.md
40
README.md
|
@ -6,3 +6,43 @@ Basé sur le logiciel statping-ng
|
||||||
|
|
||||||
Instructions : [https://statping-ng.github.io/install.html](https://statping-ng.github.io/install.html)
|
Instructions : [https://statping-ng.github.io/install.html](https://statping-ng.github.io/install.html)
|
||||||
|
|
||||||
|
### Installation du binaire
|
||||||
|
|
||||||
|
En root :
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -o- -L https://raw.githubusercontent.com/statping-ng/statping-ng/stable/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
Création du service systemd dans `/etc/systemd/system/statping-ng.service` :
|
||||||
|
```
|
||||||
|
[Unit]
|
||||||
|
Description=Statping Server
|
||||||
|
After=network.target
|
||||||
|
After=systemd-user-sessions.service
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
ExecStart=/usr/local/bin/statping
|
||||||
|
WorkingDirectory=/usr/local/bin
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
```
|
||||||
|
|
||||||
|
Recharger systemd :
|
||||||
|
```
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl enable statping-ng.service
|
||||||
|
systemctl start statping-ng
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue