diff --git a/Changelog b/Changelog
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,6 @@
+iptadmin 1.3.2	  28.10.2012:
+  * add --no-daemon option to run on centos 5
+
 iptadmin 1.3.1    23.10.2012:
   * fix cabal description - add missing files to a hackage tarball (again)
 
diff --git a/iptadmin.cabal b/iptadmin.cabal
--- a/iptadmin.cabal
+++ b/iptadmin.cabal
@@ -1,5 +1,5 @@
 Name:           iptadmin
-Version:        1.3.1
+Version:        1.3.2
 Cabal-Version:  >= 1.4
 Author:         Evgeny Tarasov
 Build-type:     Simple
diff --git a/src/Main.hs b/src/Main.hs
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -49,9 +49,14 @@
             putStrLn $ "Iptadmin v" ++ ver ++ ", (C) Evgeny Tarasov 2011"
             exitSuccess
         ("--help":_) -> do
-            putStrLn $ "usage: iptadmin (start|stop|restart)"
+            putStrLn $ "usage: \niptadmin [--no-daemon] (start|stop|restart)\niptadmin --help | --version"
             exitSuccess
-        _ -> return ()
+	["--no-daemon"] -> return ()
+        [] -> return ()
+        a -> do
+            putStrLn $ "Unrecognized options: " ++ show a
+            exitFailure
+    let daemonize = not $ "--no-daemon" `elem` args
 
     checkRunUnderRoot
 
@@ -62,7 +67,11 @@
             putStrLn e
             exitFailure
         Right config ->
-            serviced $ simpleDaemon {program = startDaemon config, user = Just "root", syslogOptions = [PID, PERROR]}
+            if daemonize
+            then
+                serviced $ simpleDaemon {program = startDaemon config, user = Just "root", syslogOptions = [PID, PERROR]}
+            else
+                withSyslog "iptadmin" [PID, PERROR] USER (startDaemon config ())
 
 startDaemon :: IptAdminConfig -> a -> IO ()
 startDaemon config _ = do
