Always use socket activation

it neither depends on systemd nor on any linuxism.
This commit is contained in:
Christopher Zimmermann 2016-06-11 14:40:40 +02:00
parent fa12f67870
commit 87e90229bc
1 changed files with 0 additions and 4 deletions

View File

@ -45,9 +45,6 @@
#include "sd-daemon.h" #include "sd-daemon.h"
int sd_listen_fds(int unset_environment) { int sd_listen_fds(int unset_environment) {
#if defined(DISABLE_SYSTEMD) || !defined(__linux__)
return 0;
#else
int r, fd; int r, fd;
const char *e; const char *e;
char *p = NULL; char *p = NULL;
@ -121,7 +118,6 @@ finish:
} }
return r; return r;
#endif
} }
int sd_is_fifo(int fd, const char *path) { int sd_is_fifo(int fd, const char *path) {