chiark / gitweb /
sysv-generator: rename PidFile to PIDFile
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 24 Jun 2014 21:07:48 +0000 (23:07 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 24 Jun 2014 21:07:48 +0000 (23:07 +0200)
Spotted by Alexey Shabalin

src/sysv-generator/sysv-generator.c

index 18dae5c..9778fbc 100644 (file)
@@ -172,7 +172,7 @@ static int generate_unit_file(SysvStub *s) {
                 fprintf(f, "SysVStartPriority=%d\n", s->sysv_start_priority);
 
         if (s->pid_file)
                 fprintf(f, "SysVStartPriority=%d\n", s->sysv_start_priority);
 
         if (s->pid_file)
-                fprintf(f, "PidFile=%s\n", s->pid_file);
+                fprintf(f, "PIDFile=%s\n", s->pid_file);
 
         fprintf(f,
                 "ExecStart=%s start\n"
 
         fprintf(f,
                 "ExecStart=%s start\n"