Page MenuHomeSoftware Heritage

prometheus.launchd.erb
No OneTemporary

prometheus.launchd.erb

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key> <string>io.prometheus.daemon</string>
<key>UserName</key> <string><%= scope.lookupvar('prometheus::user') %></string>
<key>GroupName</key> <string><%= scope.lookupvar('prometheus::group') %></string>
<% if scope.lookupvar('prometheus::service_enable') %>
<key>Disabled</key> <false/>
<% else %>
<key>Disabled></key> <true/>
<% end %>
<key>RunAtLoad</key> <true/>
<key>KeepAlive</key> <true/>
<key>ProgramArguments</key>
<array>
<string><%= scope.lookupvar('prometheus::bin_dir') %>/prometheus</string>
<string>agent</string>
<%- daemon_flags.each do |flag| -%>
<string><%= flag %></string>
<%- end -%>
<% require 'shellwords' %>
<% for extra_option in Shellwords.split(scope.lookupvar('prometheus::extra_options')) %>
<string><%= extra_option %></string>
<% end %>
</array>
</dict>
</plist>

File Metadata

Mime Type
text/xml
Expires
Jun 4 2025, 7:47 PM (12 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3278940

Event Timeline