start httpd

This commit is contained in:
Al Beano 2016-08-24 21:09:09 +01:00
parent 90f640d3c4
commit a2ba18672e
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ perl -I /var/www/perl5/lib/perl5 -MFCGI -M5.010 -e 'say "it works"' # test perl
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/