Recent activity

Default Config File 1 year, 2 months ago

From William Brawner to ~emersion/soju-dev

It appears that the default config file installed by the Makefile isn't actually
used.

From the Makefile:

    [ -f $(DESTDIR)/etc/soju/config ] || cp -f config.in $(DESTDIR)/etc/soju/config

I think it would be reasonable to set this path as the default value for the
CLI flag, in cmd/soju/main.go:

    flag.StringVar(&configPath, "config", "/etc/soju/config", "path to configuration file")

Resolving DESTDIR within the binary might be a little tricky. Does Go have
support for compile-time constants that can be passed through as build

Docker 1 year, 2 months ago

From William Brawner to ~emersion/soju-dev

Hi!

I tend to prefer running my services in a container, though I don't see
a Dockerfile present in the repo. I'd be happy to contribute one. Is
that something you'd be interested in receiving a patch for?

Cheers,
wbrawner