mirror of
https://github.com/YunoHost-Apps/loki_ynh.git
synced 2024-09-03 19:36:16 +02:00
commit
feb42ac7f7
9 changed files with 9 additions and 11 deletions
|
@ -31,7 +31,7 @@ A Loki-based logging stack consists of 3 components:
|
|||
- [Grafana](https://github.com/Yunohost-Apps/grafana_ynh) for querying and displaying the logs.
|
||||
|
||||
|
||||
**Shipped version:** 2.8.4~ynh2
|
||||
**Shipped version:** 2.8.4~ynh3
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://grafana.com/docs/loki/latest/>
|
||||
|
|
|
@ -31,7 +31,7 @@ A Loki-based logging stack consists of 3 components:
|
|||
- [Grafana](https://github.com/Yunohost-Apps/grafana_ynh) for querying and displaying the logs.
|
||||
|
||||
|
||||
**Version incluse :** 2.8.4~ynh2
|
||||
**Version incluse :** 2.8.4~ynh3
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l’app : <https://grafana.com/docs/loki/latest/>
|
||||
|
|
|
@ -7,7 +7,7 @@ name = "Loki + Promtail"
|
|||
description.en = "Grafana Loki is a set of components that can be composed into a fully featured logging stack."
|
||||
description.fr = "Grafana Loki est un ensemble de composants qui peuvent être composés pour former une pile de journalisation complète."
|
||||
|
||||
version = "2.8.4~ynh2"
|
||||
version = "2.8.4~ynh3"
|
||||
|
||||
maintainers = ["fflorent"]
|
||||
|
||||
|
|
|
@ -69,8 +69,8 @@ ynh_use_logrotate
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/loki.log"
|
||||
ynh_systemd_action --service_name="$app-promtail" --action="start" --log_path="/var/log/$app/promtail.log"
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/loki.log" --line_match="Loki started"
|
||||
ynh_systemd_action --service_name="$app-promtail" --action="start" --log_path="/var/log/$app/promtail.log" --line_match="server listening on addresses"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -48,8 +48,8 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/loki.log"
|
||||
ynh_systemd_action --service_name="$app-promtail" --action="start" --log_path="/var/log/$app/promtail.log"
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/loki.log" --line_match="Loki started"
|
||||
ynh_systemd_action --service_name="$app-promtail" --action="start" --log_path="/var/log/$app/promtail.log" --line_match="server listening on addresses"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -80,8 +80,8 @@ ynh_use_logrotate --non-append
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/loki.log"
|
||||
ynh_systemd_action --service_name="$app-promtail" --action="start" --log_path="/var/log/$app/promtail.log"
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/loki.log" --line_match="Loki started"
|
||||
ynh_systemd_action --service_name="$app-promtail" --action="start" --log_path="/var/log/$app/promtail.log" --line_match="server listening on addresses"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
2
sources/patches/.gitignore
vendored
2
sources/patches/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*~
|
||||
*.sw[op]
|
Loading…
Add table
Reference in a new issue