summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rwxr-xr-xjail.sh2
-rwxr-xr-xnotlive.sh1
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0c314f4..c01c6ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
VERSION := $(shell sed -ne 's/^VERSION = "\(.*\)"/\1/p' miniircd)
DISTFILES = miniircd COPYING README.md
-JAILDIR = /var/jail/miniircd
-JAILUSER = nobody
+JAILDIR = /home/jail/irc
+JAILUSER = ircd
.PHONY: all
all: test
diff --git a/jail.sh b/jail.sh
new file mode 100755
index 0000000..6cdde97
--- /dev/null
+++ b/jail.sh
@@ -0,0 +1,2 @@
+./miniircd --ports=6697 --daemon --state-dir=/ --log-file=/log.txt --motd=/motd.txt --setuid=ircd \
+ --ssl-pem-file=/irc.pem --chroot=/home/jail/irc
diff --git a/notlive.sh b/notlive.sh
new file mode 100755
index 0000000..517c360
--- /dev/null
+++ b/notlive.sh
@@ -0,0 +1 @@
+./miniircd --ports=6668 --ssl-pem-file=/home/ircd/irc.pem