From 2e0aaf668800067bb40553f351ff75e0b30c2b52 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 18 Dec 2016 10:14:46 +0100 Subject: [PATCH] SQLite init commands --- cmd.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd.txt b/cmd.txt index 9548d7c..17afba0 100644 --- a/cmd.txt +++ b/cmd.txt @@ -4,5 +4,7 @@ doas install -o www -g www -m 0500 build/vars /var/www/cgi-bin/ cc -static -g -W -Wall -o build/vars_kcgi vars_kcgi.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz doas install -o www -g www -m 0500 build/vars_kcgi /var/www/cgi-bin/ +doas mkdir /var/www/tmp +doas chmod 1777 /var/www/tmp cc -static -g -W -Wall -o build/example4 examples/example4.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz -lsqlite3 doas install -o www -g www -m 0500 build/example4 /var/www/cgi-bin/