bjoe2k4
1e2f2d535d
Revert "Bind to both ipv4 and ipv6 by default."
This reverts commit cdb223542a .
hace 9 años
bjoe2k4
546399561a
Update systemd file
Network is not need anymore to start postsrsd.
hace 9 años
bjoe2k4
e12167c202
Read config from environment
hace 9 años
bjoe2k4
cdb223542a
Bind to both ipv4 and ipv6 by default.
hace 9 años
bjoe2k4
10e8b8214d
Remove addrinfo flags
Remove flags since they require the network to be up and routable for no reason.
hace 9 años
Oxan van Leeuwen
e69a69c6ef
Fix typo in systemd service
hace 9 años
Timo Röhling
b02a1db057
Improve configuration
hace 10 años
Timo Röhling
2e41017de3
Typo
hace 10 años
Timo Röhling
031c5b4e87
Known issue with rewriting
Closes #14
Closes #17
hace 10 años
Timo Röhling
ed482a33e1
Known issue with CentOS 6
As reported in #25
hace 10 años
Timo Röhling
1d1c8f46e8
Use openssl binary of no base64 binary is available
Suggested by maxfieb (#21 )
hace 10 años
Timo Röhling
505f09d135
Link against libsocket and libnsl on Solaris
Fixes #21
hace 10 años
Timo Röhling
51e9288c93
1.2
hace 10 años
Timo Röhling
a557a77ef4
Add more flags to be passed to makefile fragment
hace 10 años
Timo Röhling
0442b31227
Fix more warnings
hace 10 años
Timo Röhling
9548316977
Allow INIT_FLAVOR override in makefile fragment
hace 10 años
Timo Röhling
f0ec8943b4
Move most defaults to default file
hace 10 años
Timo Röhling
6aa118f5a7
Move init-related stuff to its own folder
hace 10 años
Timo Röhling
fefe8efceb
Merge initial systemd support from bjoe2k4
hace 10 años
bjoe2k4
32d2cd0abd
Fix file path of default file in postinstall
hace 10 años
bjoe2k4
45bdf8e363
Small fix for systemd service file
hace 10 años
bjoe2k4
037a57ba50
Set secret file in default file at compile time
hace 10 años
bjoe2k4
f097d1be4c
Rename postsrsd.default
hace 10 años
bjoe2k4
b4bcb77ca7
Initial systemd support
hace 10 años
Timo Röhling
1493d5f38c
Bind IPv4 ports by default
hace 10 años
Timo Röhling
a4a53c7b9f
Flush before waiting for new input, not after
hace 10 años
Timo Röhling
859796b126
Workaround for Solaris libc
The Solaris libc has some issues with alternating input and output
on sockets passed to fdopen(). Apparently there is a shared buffer
which has to be emptied, either by fseek() or fflush(), whenever
the direction of the data flow changes.
hace 10 años
Timo Röhling
70878f964c
Whitespace fix
hace 10 años
Timo Röhling
a534a528f7
Check for headers which may or may not be available
hace 10 años
Timo Röhling
69275bebaa
Fix pointer conversion warnings
hace 10 años
Timo Röhling
931406ebdd
Update README
hace 10 años
TomBoehm
5b08179493
Add preliminary Mac OS X support
hace 10 años
Timo Röhling
f430c83b82
Load timezone info before chroot
Fixes #13
hace 10 años
Timo Röhling
174337768c
Merge pull request #16 from crispygoth/master
A couple of small fixes: closing listen sockets in child and ignoring EINTR errors from main poll
hace 10 años
Chris Butler
6abd042ee3
Ignore EINTR errors from main poll() loop
When trying to connect the strace tool to the daemon's main process, the
daemon would die because strace interrupted the poll() causing it to
return EINTR.
It should be safe to ignore EINTR errors from poll in this case. Either
the received signal will be otherwise ignored by the process, or it will
cause it to terminate.
hace 10 años
Chris Butler
0fc199d5bc
Close the listen sockets in child processes
By keeping the listen sockets open, the children were preventing the
daemon from being restarted cleanly. Once the child has forked these
listen sockets are no longer needed by that process, so can be closed.
hace 10 años
Timo Röhling
6e582bc915
Merge pull request #15 from rvrangel/master
add status check to LSB init script
hace 10 años
Renan Rangel
7e862adb38
add status check to LSB init script
hace 10 años
Timo Röhling
6c0be7c5b3
Use PERMISSIONS keyword instead of FILE_PERMISSIONS
Fixes #6
hace 10 años
Timo Röhling
9cd1faabb3
Swap detection order of sysv-redhat and sysv-lsb
/lib/lsb/init-functions exists on Redhat system, but
/etc/init.d/functions does not on Debian-based systems, so
this should work better out-of-the-box.
Fixes #7
hace 10 años
Timo Röhling
ddd3612d30
Make sysconfig directory configurable
hace 10 años
Timo Röhling
e813563933
Make documentation location configurable
This is an ongoing effort to allow different file system layouts (#5 )
hace 10 años
Timo Röhling
4a3349d538
1.1
hace 10 años
Timo Röhling
e33d892526
Make config file location configurable
hace 10 años
Timo Röhling
6c1da85137
Remove strict error checking from Red Hat init script
working on issue #4
hace 10 años
Timo Röhling
ea35d05dcf
Check for extra command line arguments
Otherwise, excluded domains might be silently ignored.
hace 10 años
Timo Röhling
e915847e73
Do not show help on command line errors
This obfuscates the error message too much.
hace 10 años
Timo Röhling
682d5ad906
Start postsrsd with full path to binary
Also, distinguish between script name and binary name (#4 )
hace 10 años
Timo Röhling
1ac30effea
Fix #3 again
hace 10 años
Timo Röhling
dabac67c35
Add Red Hat-style init script
Thanks to @timeos for the initial version (#4 )
hace 10 años