Add default configuration file

This commit is contained in:
Simon Ser 2021-04-21 16:39:51 +02:00
parent 0f6bac30b8
commit fd365f9480
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
2 changed files with 5 additions and 0 deletions

View File

@ -23,5 +23,8 @@ clean:
install: all install: all
mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR) mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
mkdir -p $(DESTDIR)/etc/soju
mkdir -p $(DESTDIR)/var/lib/soju
cp -f soju sojuctl $(DESTDIR)$(PREFIX)/$(BINDIR) cp -f soju sojuctl $(DESTDIR)$(PREFIX)/$(BINDIR)
cp -f doc/soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 cp -f doc/soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
cp -f config.in $(DESTDIR)/etc/soju/config

2
config.in Normal file
View File

@ -0,0 +1,2 @@
sql sqlite3 /var/lib/soju/main.db
log /var/lib/soju/logs/