add start logo

master
Carlo Strub 7 years ago
parent c5dc21e58e
commit a5e7b729db

@ -1,6 +1,7 @@
package main
import (
"fmt"
"log"
"net/http"
"os"
@ -78,7 +79,16 @@ func main() {
log.Fatal("sisyphus running or " + *pidfile + " file exists.")
}
log.Print("App runs..........")
fmt.Print(`
`)
// Make arrangement to remove PID file upon receiving the SIGTERM from kill command
ch := make(chan os.Signal, 1)
signal.Notify(ch, os.Interrupt, os.Kill, syscall.SIGTERM)

Loading…
Cancel
Save