3
0

OP#189 add the services

This commit is contained in:
2025-12-04 14:16:06 +01:00
parent dcbad998f4
commit 639d4b0099
7 changed files with 91 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=Prometheus TSDB prune service
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=prometheus
Group=prometheus
EnvironmentFile=<%= @ps_env_file %>
ExecStart=<%= @ps_pruning_file %>
Nice=10
IOWeight=80