mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
update pidfile and sockfile path
This commit is contained in:
parent
7da4dfc78e
commit
5682d50283
@ -12,7 +12,7 @@ if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(prog="tunasync")
|
||||
parser.add_argument("-c", "--config",
|
||||
default="tunasync.ini", help="config file")
|
||||
parser.add_argument("--pidfile", default="/var/run/tunasync.pid",
|
||||
parser.add_argument("--pidfile", default="/run/tunasync/tunasync.pid",
|
||||
help="pidfile")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
@ -9,7 +9,7 @@ import struct
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(prog="tunasynctl")
|
||||
parser.add_argument("-s", "--socket",
|
||||
default="/var/run/tunasync.sock", help="socket file")
|
||||
default="/run/tunasync/tunasync.sock", help="socket file")
|
||||
|
||||
subparsers = parser.add_subparsers(dest="command", help='sub-command help')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user