mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
Switch to non-deprecated oxend path
This commit is contained in:
parent
ba5de3c001
commit
52a8b9d468
4
debian/lokinet-router.postinst
vendored
4
debian/lokinet-router.postinst
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user