status/README.md

55 lines
932 B
Markdown

# Status - page de statut de l'infrastructure de Libre en Communs
Basé sur le logiciel statping-ng
## Installation
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
```
### Personnalisation
Installer SASS :
```
apt install ruby-sass -y
```