Commit 83d5f55
committed
PID files contain the PID so that on next run, we can test to see
if that PID is still alive. If it isn't, the daemon was kill -9'd,
the system crashed, or similar. It isn't running any more and it's
safe to start up again. Don't die on startup unless the PID in the
PID file is valid.1 parent 3341153 commit 83d5f55
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
118 | 129 | | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| |||
0 commit comments