procemon 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +0,0 @@
1
- module Process
2
-
3
- def self.daemonize
4
- File.create Application.pid,'a+'
5
- File.create Application.log,'a+'
6
- File.create Application.daemon_stderr,'a+'
7
- Daemon.start fork,
8
- Application.pid,
9
- Application.log,
10
- Application.daemon_stderr
11
- end
12
-
13
- def self.stop
14
- Daemon.stop
15
- end
16
-
17
- end