feat: rebranded from vpn-router to linux-manager.
This commit is contained in:
1 parent
8efe21bfa6
commit
85a1ffa21f
238 files changed
+5010
-3761
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python3
|
||||
"""Render configuration files and provision PKI from linux-manager.json.
|
||||
|
||||
Run directly to regenerate them without starting, stopping or reloading
|
||||
anything. This still writes to /etc/swanctl, /etc/systemd/resolved.conf.d and
|
||||
/etc/wireguard, and may create the certificate authority and add it to the host
|
||||
trust store; what it leaves alone is routes, firewall rules and services.
|
||||
'setup' calls the same code before applying those.
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
|
||||
|
||||
import linuxmanager
|
||||
|
||||
|
||||
def main():
|
||||
linuxmanager.configure()
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
Reference in new issue
Block a user