Switch to non-deprecated oxend path

This commit is contained in:
Jason Rhinelander 2022-11-15 13:59:12 -04:00
parent ba5de3c001
commit 52a8b9d468
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262

View File

@ -19,7 +19,7 @@ if [ "$1" = configure ]; then
s#$tmpdir#$datadir#; s#$tmpdir#$datadir#;
if (/^\[lokid/ ... /^\[/) { if (/^\[lokid/ ... /^\[/) {
s{^#?enabled=.*}{enabled=1}; s{^#?enabled=.*}{enabled=1};
s{^#?rpc=.*}{rpc=ipc:///var/lib/loki/lokid.sock}; s{^#?rpc=.*}{rpc=ipc:///var/lib/oxen/oxend.sock};
}" $tmpdir/lokinet.ini }" $tmpdir/lokinet.ini
chmod 640 $tmpdir/lokinet.ini chmod 640 $tmpdir/lokinet.ini
chgrp _loki $tmpdir/lokinet.ini chgrp _loki $tmpdir/lokinet.ini
@ -35,7 +35,7 @@ if [ "$1" = configure ]; then
} }
if (/^\[lokid/ ... /^\[/) { if (/^\[lokid/ ... /^\[/) {
s{^#?enabled=.*}{enabled=1}; s{^#?enabled=.*}{enabled=1};
s{^#?rpc=.*}{rpc=ipc:///var/lib/loki/testnet/lokid.sock}; s{^#?rpc=.*}{rpc=ipc:///var/lib/oxen/testnet/oxend.sock};
}" $tmpdir/lokinet.ini }" $tmpdir/lokinet.ini
chmod 640 $tmpdir/lokinet.ini chmod 640 $tmpdir/lokinet.ini
chgrp _loki $tmpdir/lokinet.ini chgrp _loki $tmpdir/lokinet.ini