mirror of
https://github.com/YunoHost-Apps/prometheus_ynh.git
synced 2024-09-03 20:16:01 +02:00
19 lines
466 B
Desktop File
19 lines
466 B
Desktop File
[Unit]
|
|
Description=Prometheus daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__/
|
|
ExecStart=__FINALPATH__/prometheus \
|
|
--config.file=__FINALPATH__/prometheus.yml --web.enable-admin-api \
|
|
--web.external-url=__PATH__/ \
|
|
--web.route-prefix=__PATH__/ \
|
|
--web.listen-address=localhost:__PORT__
|
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
|
StandardError=inherit
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|