Code review comment for ~jsimpso/prometheus-snap:master

Revision history for this message
James Simpson (jsimpso) wrote :

ps output here showing that prometheus is now launched from the wrapper as "snap_daemon" rather than root:

jsimpso@kif:~$ sudo pgrep prometheus -a
1891 /bin/sh /snap/prometheus-alertmanager/50/bin/prometheus-alertmanager.wrapper
2062437 /bin/sh /snap/prometheus/x7/bin/prometheus.wrapper
2062642 /snap/prometheus/x7/bin/prometheus --config.file /var/snap/prometheus/x7/prometheus.yml --storage.tsdb.path=/var/snap/prometheus/common/tsdb
jsimpso@kif:~$ sudo ps aux | grep [2]062642
snap_da+ 2062642 0.1 0.2 938440 75548 ? Sl 11:17 0:00 /snap/prometheus/x7/bin/prometheus --config.file /var/snap/prometheus/x7/prometheus.yml --storage.tsdb.path=/var/snap/prometheus/common/tsdb

jsimpso@kif:~$ systemctl is-active snap.prometheus.prometheus.service
active

« Back to merge proposal