Page MenuHomeSoftware Heritage

daemon.systemd.erb
No OneTemporary

daemon.systemd.erb

[Unit]
Description=Prometheus <%= @name %>
Wants=basic.target
After=basic.target network.target
[Service]
User=<%= @user %>
Group=<%= @group %>
<%- require 'shellwords' -%>
ExecStart=<%= @bin_dir %>/<%= @name %><% for option in Shellwords.split(@options) %> \
<%= option -%>
<% end %>
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
RestartSec=42s
[Install]
WantedBy=multi-user.target

File Metadata

Mime Type
text/plain
Expires
Jul 4 2025, 8:56 AM (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3287503

Event Timeline