summaryrefslogtreecommitdiff
path: root/lib/daemon.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-04 15:02:54 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-04 15:02:54 -0400
commit65efe17c4e4b960ada6a46e28557aec18b9364c0 (patch)
treef56412077ab7a36873bc5671d0c4887a1e04e26f /lib/daemon.php
parentaed0fff4ea668de83405a4457fe238cf36c78d8f (diff)
add .pid to pidfile names
darcs-hash:20080904190254-84dde-57d24d7a82e4c7eabef87d60ebb69292832e31ac.gz
Diffstat (limited to 'lib/daemon.php')
-rw-r--r--lib/daemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/daemon.php b/lib/daemon.php
index 09144afe7..0bda0272f 100644
--- a/lib/daemon.php
+++ b/lib/daemon.php
@@ -80,7 +80,7 @@ class Daemon {
if (!$name) {
return NULL;
}
- return $piddir . '/' . $name;
+ return $piddir . '/' . $name . '.pid';
}
function changeUser() {