File: 2004_systemd.patch

package info (click to toggle)
scaphandre 1.0.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,676 kB
  • sloc: sh: 53; makefile: 49
file content (17 lines) | stat: -rw-r--r-- 680 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: adjust path to systemd file
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-08-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- 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