Change to tmp instead of var for guestbook

This commit is contained in:
Elizabeth Hunt 2023-02-28 00:22:21 -07:00
parent 093b5cc69f
commit 14c11e131b
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -23,11 +23,6 @@ then
vim ~/.config/systemd/user/guestbookd.service vim ~/.config/systemd/user/guestbookd.service
fi fi
# /var/run socket
sudo mkdir /var/run/guestbookd
user=$USER
sudo chown -R $user:$user /var/run/guestbookd
# NGINX # NGINX
nginx_config=" nginx_config="
worker_processes 1; worker_processes 1;
@ -49,7 +44,7 @@ http {
guestbook_config=" guestbook_config="
upstream soc { upstream soc {
server unix:/var/run/guestbookd/guestbookd.sock; server unix:/tmp/guestbookd.sock;
} }
server { server {