File: 2004_systemd.patch

package info (click to toggle)
scaphandre 1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,640 kB
  • sloc: sh: 53; makefile: 49
file content (11 lines) | stat: -rw-r--r-- 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/packaging/linux/ubuntu/scaphandre.service
+++ b/packaging/linux/ubuntu/scaphandre.service
@@ -10,7 +10,7 @@
 
 ExecStartPre=-+/usr/sbin/modprobe intel_rapl_common
 ExecStartPre=+/usr/bin/find /sys/devices/virtual/powercap -name energy_uj -exec chmod g+r -R {} + -exec chown root:powercap {} +
-ExecStart=/usr/local/bin/scaphandre prometheus -p 8080
+ExecStart=/usr/bin/scaphandre prometheus -p 8080
 EnvironmentFile=/etc/scaphandre
 
 CapabilityBoundingSet=CAP_NET_BIND_SERVICE