Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232251

use of $ARGS in systemd unit file by prometheus package

From Andrew Spiers <andrew@andrewspiers.net>
Newsgroups linux.debian.user
Subject use of $ARGS in systemd unit file by prometheus package
Date 2021-03-02 03:20 +0100
Message-ID <BO2NI-61e-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Prometheus takes some command line arguments to control certain
aspects of its operation.
The systemd unit file shipped with prometheus includes the line

ExecStart=/usr/bin/prometheus $ARGS

I know I can simply override the unit file with one in
/etc/systemd/system, but what if I wanted to use this variable? Where
would I set it?

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

use of $ARGS in systemd unit file by prometheus package Andrew Spiers <andrew@andrewspiers.net> - 2021-03-02 03:20 +0100
  Re: use of $ARGS in systemd unit file by prometheus package IL Ka <kazakevichilya@gmail.com> - 2021-03-02 03:50 +0100
    Re: use of $ARGS in systemd unit file by prometheus package Andrew Spiers <andrew@andrewspiers.net> - 2021-03-02 08:00 +0100
      Re: use of $ARGS in systemd unit file by prometheus package Greg Wooledge <greg@wooledge.org> - 2021-03-02 16:20 +0100

csiph-web