it sends emails when your shit stops working: https://tor.uptime.party | http://ixudcccpw5o56fvk.onion
Go to file
Al Beano be0ec1c8d7 templates! 2016-08-24 22:14:37 +01:00
tormon templates! 2016-08-24 22:14:37 +01:00
README.md templates! 2016-08-24 22:14:37 +01:00
httpd.conf initial commit 2016-08-24 20:01:48 +01:00

README.md

pkg_add curl # if you don't have it already
mv /var/www /var/www.old # clean out OpenBSD's default guff
mkdir -p /var/www/logs /var/www/run /var/www/perl5 /var/www/tormon
chown www:www /var/www/run
install -o www -g www -m 0400 httpd.conf /etc/
echo "permit nopass root as www" >> /etc/doas.conf
curl -L https://cpanmin.us | perl - App::cpanminus
cpanm -l /var/www/perl5 FCGI Switch Template::Simple File::Slurp
install -o www -g www -m 0500 tormon/* /var/www/tormon/
echo 'echo "Starting tormon" && doas -u www /var/www/tormon/tormon.fcgi &' >> /etc/rc.local
sh /etc/rc.local # assuming tormon is the only thing in rc.local
rcctl enable httpd
rcctl start httpd

# updating
install -o www -g www -m 0500 tormon/* /var/www/tormon/