Skip to content

Commit 35e299c

Browse files
committed
Correct the location
1 parent 3d29aa0 commit 35e299c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/appgoblin-frontend.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ ExecStart=/bin/bash -c "source /home/goblin/.nvm/nvm.sh && exec /home/goblin/.nv
1818

1919
ExecStartPost=/bin/bash -c "
2020
for i in {1..10}; do
21-
if [ -S /tmp/appgoblin-frontend.sock ]; then
22-
chown www-data:www-data /tmp/appgoblin-frontend.sock
21+
if [ -S /run/appgoblin/frontend.sock ]; then
22+
chown www-data:www-data /run/appgoblin/frontend.sock
2323
exit 0
2424
fi
2525
sleep 0.5
2626
done
27-
echo 'Warning: socket not found after waiting, skipping chown'
27+
echo "Warning: socket not found, skipping chown"
2828
exit 0
2929
"
3030

0 commit comments

Comments
 (0)