move config files to usr/share/talircd/default/x
This commit is contained in:
parent
00eae82eb3
commit
454d27780c
|
@ -0,0 +1,3 @@
|
||||||
|
IRC_MOTD=/etc/talircd.motd
|
||||||
|
IRC_HOSTNAME=irc.tali.software
|
||||||
|
IRC_PORT=6667
|
|
@ -6,17 +6,16 @@ eval $(opam env)
|
||||||
|
|
||||||
root=dist/root
|
root=dist/root
|
||||||
rm -rf $root
|
rm -rf $root
|
||||||
mkdir -p $root/DEBIAN $root/etc $root/usr/lib/systemd/system
|
mkdir -p $root/usr/lib/systemd/system $root/DEBIAN
|
||||||
|
|
||||||
# build ocaml program
|
# build ocaml program
|
||||||
|
|
||||||
opam pin add ./talircd --kind=path --no-action --yes
|
opam pin add ./talircd --kind=path --no-action --yes
|
||||||
opam install talircd --destdir=$root/usr --yes
|
opam install talircd --destdir=$root/usr --yes
|
||||||
|
|
||||||
# install helper files
|
# install service file
|
||||||
|
|
||||||
install -m 644 talircd/deploy/talircd.service $root/usr/lib/systemd/system
|
install -m 644 talircd/deploy/talircd.service $root/usr/lib/systemd/system
|
||||||
install -m 644 talircd/deploy/talircd.conf $root/etc
|
|
||||||
|
|
||||||
# generate package control file
|
# generate package control file
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
IRC_MOTD=/usr/share/talircd/motd
|
|
||||||
IRC_HOSTNAME=irc.tali.software
|
|
||||||
IRC_PORT=6667
|
|
||||||
LOG_LEVEL=debug
|
|
Loading…
Reference in New Issue