Skip to content

Instantly share code, notes, and snippets.

@kitten77
kitten77 / gist:f4de546f443ecbfbba067fc7fce05aed
Created April 13, 2017 12:40
freebsd jail ipv6 not starting
jail -c ip6.addr="em0|2a01:4f8:151:64a3::1/64" ip6.saddrsel=1 ip6=new name=ioc-a3cbb55a-2765-4033-9dba-3141ce2add17 host.domainname=none host.hostname=irssi.g.l9 path=/iocage/jails/a3cbb55a-2765-4033-9dba-3141ce2add17/root securelevel=2 host.hostuuid=a3cbb55a-2765-4033-9dba-3141ce2add17 devfs_ruleset=4 enforce_statfs=2 children.max=0 allow.set_hostname=1 allow.sysvipc=0 sysvmsg=new sysvsem=new sysvshm=new allow.raw_sockets=0 allow.chflags=0 allow.mount=0 allow.mount.devfs=0 allow.mount.nullfs=0 allow.mount.procfs=0 allow.mount.tmpfs=0 allow.mount.zfs=0 allow.quotas=0 allow.socket_af=0 exec.prestart=/usr/bin/true exec.poststart=/usr/bin/true exec.start="sh /etc/rc" exec.prestop=/usr/bin/true exec.stop="/bin/sh /etc/rc.shutdown" exec.clean=1 exec.timeout=60 stop.timeout=30 mount.fstab="/iocage/jails/a3cbb55a-2765-4033-9dba-3141ce2add17/fstab" mount.devfs=1 mount.fdescfs=1 allow.dying exec.consolelog=/iocage/log/ioc-a3cbb55a-2765-4033-9dba-3141ce2add17-console.log persist
jexec 39 cat /var/log/messages
### Hav
@kitten77
kitten77 / auth-basic.conf
Created December 18, 2016 09:43 — forked from Thermionix/auth-basic.conf
nginx reverse proxy for sickbeard, couchpotato etc.
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;