From 14c11e131baf26596e8d78369214ad2a2a17a8c1 Mon Sep 17 00:00:00 2001 From: Simponic Date: Tue, 28 Feb 2023 00:22:21 -0700 Subject: [PATCH] Change to tmp instead of var for guestbook --- scripts/put-guestbook-on-this-machine.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/put-guestbook-on-this-machine.sh b/scripts/put-guestbook-on-this-machine.sh index 31cf716..0494335 100755 --- a/scripts/put-guestbook-on-this-machine.sh +++ b/scripts/put-guestbook-on-this-machine.sh @@ -23,11 +23,6 @@ then vim ~/.config/systemd/user/guestbookd.service fi -# /var/run socket -sudo mkdir /var/run/guestbookd -user=$USER -sudo chown -R $user:$user /var/run/guestbookd - # NGINX nginx_config=" worker_processes 1; @@ -49,7 +44,7 @@ http { guestbook_config=" upstream soc { - server unix:/var/run/guestbookd/guestbookd.sock; + server unix:/tmp/guestbookd.sock; } server {