#3 Change /var/run -> /run in systemd service file
Merged 2 years ago by nalin. Opened 2 years ago by orion.
orion/oddjob systemd  into  master

file modified
+2 -2
@@ -4,8 +4,8 @@ 

  

  [Service]

  Type=simple

- PIDFile=/var/run/oddjobd.pid

- ExecStart=@sbindir@/oddjobd -n -p /var/run/oddjobd.pid -t 300

+ PIDFile=/run/oddjobd.pid

+ ExecStart=@sbindir@/oddjobd -n -p /run/oddjobd.pid -t 300

  

  [Install]

  WantedBy=multi-user.target

Fixes:

/usr/lib/systemd/system/oddjobd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/oddjobd.pid → /run/oddjobd.pid; please update the unit file accordingly.

that I'm seeing on F30.

Can be merged -- the /run/.. part is there since circa 2012, I think.

Pull-Request has been merged by nalin

2 years ago
Metadata