- manage vmstorage package, service and environment file - manage vmselect package, service and environment file - manage vminsert package, service and environment file - manage vmagent package, service and environment file - manage options for vmstorage, vmselect, vminsert, vmagent role Reviewed-on: #363
19 lines
313 B
Plaintext
19 lines
313 B
Plaintext
[Unit]
|
|
Description=VictoriaMetrics vminsert service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=<%= @user %>
|
|
Group=<%= @group %>
|
|
Restart=always
|
|
EnvironmentFile=<%= @vars_file %>
|
|
ExecStart=<%= @exec_path %> $OPTIONS
|
|
|
|
PrivateTmp=yes
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=full
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|