]> git.ipfire.org Git - people/stevee/guardian.git/blobdiff - guardian
Add LogFacility for logging to a single file.
[people/stevee/guardian.git] / guardian
index 9b571145c57b83812db4144c81bcf26ad320262f..148f50e38e9f2b166336c16642087965e0c02be6 100644 (file)
--- a/guardian
+++ b/guardian
@@ -279,7 +279,7 @@ sub Worker ($) {
 #
 sub Socket () {
        # Create the Server socket by calling the responsible function.
-       my $server = &Guardian::Socket::Server();
+       my $server = &Guardian::Socket::Server($mainsettings{SocketOwner});
 
        # Log successfull creation of socket.
        $logger->Log("debug", "Listening to Socket...");