Skip to content

Commit 8d06d0b

Browse files
sfauveljpraynaud
authored andcommitted
Add PIDFile in squid service configuration
1 parent ef3c23e commit 8d06d0b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/website/root/manual/getting-started/run-signer-node.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ RestartSec=60
396396
User=cardano
397397
EnvironmentFile=/opt/mithril/mithril-signer.env
398398
ExecStart=/opt/mithril/mithril-signer -vvv
399-
KillMode=None
399+
PIDFile=/opt/squid/var/run/squid/squid.pid
400400
401401
[Install]
402402
WantedBy=multi-user.target
@@ -632,8 +632,8 @@ cache deny all
632632
# Deny everything else
633633
http_access deny all
634634
635-
# Deactivate pid file
636-
pid_filename none
635+
# Pid file
636+
pid_filename /opt/squid/var/run/squid/squid.pid
637637
EOF'
638638
```
639639
@@ -690,8 +690,8 @@ cache deny all
690690
# Deny everything else
691691
http_access deny all
692692
693-
# Deactivate pid file
694-
pid_filename none
693+
# Pid file
694+
pid_filename /opt/squid/var/run/squid/squid.pid
695695
EOF'
696696
```
697697
@@ -748,6 +748,7 @@ RestartSec=60
748748
User=squid
749749
Group=squid
750750
ExecStart=/opt/squid/sbin/squid -f /etc/squid/squid.conf
751+
PIDFile=/opt/squid/var/run/squid/squid.pid
751752
752753
[Install]
753754
WantedBy=multi-user.target

0 commit comments

Comments
 (0)