summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimportd
diff options
context:
space:
mode:
Diffstat (limited to 'src/helsinki.at/rhimportd')
-rw-r--r--src/helsinki.at/rhimportd/log.go37
-rw-r--r--src/helsinki.at/rhimportd/main.go (renamed from src/helsinki.at/rhimportd/rhimportd.go)8
2 files changed, 8 insertions, 37 deletions
diff --git a/src/helsinki.at/rhimportd/log.go b/src/helsinki.at/rhimportd/log.go
deleted file mode 100644
index d122e55..0000000
--- a/src/helsinki.at/rhimportd/log.go
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// rhimportd
-//
-// The Radio Helsinki Rivendell Import Daemon
-//
-//
-// Copyright (C) 2015 Christian Pointner <equinox@helsinki.at>
-//
-// This file is part of rhimportd.
-//
-// rhimportd is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// any later version.
-//
-// rhimportd is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with rhimportd. If not, see <http://www.gnu.org/licenses/>.
-//
-
-package main
-
-import (
- // "io/ioutil"
- "log"
- "os"
-)
-
-var (
- rhl = log.New(os.Stderr, "[rhimportd]\t", log.LstdFlags)
- rhdl = log.New(os.Stderr, "[rhimportd-dbg]\t", log.LstdFlags)
- //rhdl = log.New(ioutil.Discard, "[rhimportd-dbg]\t", log.LstdFlags)
-)
diff --git a/src/helsinki.at/rhimportd/rhimportd.go b/src/helsinki.at/rhimportd/main.go
index 9e395d8..5184870 100644
--- a/src/helsinki.at/rhimportd/rhimportd.go
+++ b/src/helsinki.at/rhimportd/main.go
@@ -27,9 +27,17 @@ package main
import (
"flag"
"helsinki.at/rhimport"
+ "log"
"os"
"os/signal"
"sync"
+ // "io/ioutil"
+)
+
+var (
+ rhl = log.New(os.Stderr, "[rhimportd]\t", log.LstdFlags)
+ rhdl = log.New(os.Stderr, "[rhimportd-dbg]\t", log.LstdFlags)
+ //rhdl = log.New(ioutil.Discard, "[rhimportd-dbg]\t", log.LstdFlags)
)
func main() {