2019-07-18 05:11:52 +00:00
|
|
|
from utils import identifyhome
|
2019-09-20 16:25:12 +00:00
|
|
|
import os
|
2019-07-18 05:11:52 +00:00
|
|
|
home = identifyhome.identify_home()
|
2019-07-18 17:40:48 +00:00
|
|
|
if not home.endswith('/'): home += '/'
|
2019-07-18 05:11:52 +00:00
|
|
|
|
2019-09-20 16:25:12 +00:00
|
|
|
app_root = os.path.dirname(os.path.realpath(__file__)) + '/../../'
|
2022-02-14 23:47:54 +00:00
|
|
|
|
|
|
|
gossip_server_socket_file = home + 'gossip-server.sock'
|
|
|
|
|
2019-09-11 03:56:20 +00:00
|
|
|
config_file = home + 'config.json'
|
2019-10-08 00:02:12 +00:00
|
|
|
lock_file = home + 'onionr.lock'
|
2022-08-03 05:23:22 +00:00
|
|
|
pid_file = home + 'onionr.pid'
|
2019-07-18 17:40:48 +00:00
|
|
|
|
2020-02-08 09:07:07 +00:00
|
|
|
log_file = home + 'onionr.log'
|