mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 17:36:26 -05:00
Uses a lock file instead than a pid file.
It's more appropriate for a not daemon.
This commit is contained in:
parent
bc2a837953
commit
fceaa8a4cf
7 changed files with 46 additions and 70 deletions
|
|
@ -125,10 +125,10 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Enable PID file support.
|
||||
* Enable lock file support.
|
||||
*/
|
||||
#if HAVE_FLOCK && HAVE_FTRUNCATE
|
||||
#define HAVE_PIDFILE 1
|
||||
#define HAVE_LOCKFILE 1
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue