You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
403 B
19 lines
403 B
[Unit]
|
|
Description=Gentoo Portage Exporter
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
User=portage-exporter
|
|
DynamicUser=yes
|
|
Type=simple
|
|
PassEnvironment=SERVE_ADDRESS SERVE_PATH VDB_UPDATE_INTERVAL
|
|
ExecStart=/usr/bin/portage-exporter
|
|
|
|
# Environment=SERVE_ADDRESS=:2112
|
|
# Environment=SERVE_PATH=/metrics
|
|
# Environment=VDB_UPDATE_INTERVAL=1800
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|