|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
From 6b6202305bc934d36cf782c039a6c1a89c7480a0 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
Date: Tue, 24 Jun 2014 23:07:48 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
Subject: [PATCH] sysv-generator: rename PidFile to PIDFile
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
Spotted by Alexey Shabalin
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
(cherry picked from commit d171ed1c50ba64928b7fb30ee2ae729fdfe0826b)
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
src/sysv-generator/sysv-generator.c | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
index 18dae5c2..9778fbc5 100644
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
--- a/src/sysv-generator/sysv-generator.c
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
+++ b/src/sysv-generator/sysv-generator.c
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
@@ -172,7 +172,7 @@ static int generate_unit_file(SysvStub *s) {
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
fprintf(f, "SysVStartPriority=%d\n", s->sysv_start_priority);
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
if (s->pid_file)
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
- fprintf(f, "PidFile=%s\n", s->pid_file);
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
+ fprintf(f, "PIDFile=%s\n", s->pid_file);
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
fprintf(f,
|
|
Zbigniew Jędrzejewski-Szmek |
e4fbe4 |
"ExecStart=%s start\n"
|