mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
add pidfile for daemon
This commit is contained in:
7
skynet-src/skynet_daemon.h
Normal file
7
skynet-src/skynet_daemon.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef skynet_daemon_h
|
||||
#define skynet_daemon_h
|
||||
|
||||
int daemon_init(const char *pidfile);
|
||||
int daemon_exit(const char *pidfile);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user