2024-06-16 00:51:25 -05:00
2024-06-14 18:48:39 -05:00
WIP
2024-06-14 23:34:27 -05:00
WIP
2024-06-14 23:34:27 -05:00
2024-06-16 00:05:05 -05:00
2024-06-16 00:51:25 -05:00
2024-06-16 00:25:23 -05:00
2024-06-16 00:25:23 -05:00
2024-06-16 00:25:23 -05:00

AppDaemon VSCode Tunnel

Install Service

Use the install_service.py script to install.

  • Creates symlinks to /etc/systemd/system
    • example.socket
    • example.service
  • Reloads the service definitions
  • Starts the example.socket
  • Enables the example.socket to start at boot

Note

The example.socket does cause example.service to start when something connects to the socket at /run/example.sock.

Caution

example.service does not stop when disconnecting from /run/example.sock

Scripts

  • install_service.py: Installs the services on the system
  • run_service.py: Used to demo running the code tunnel from a python function
  • test_socket.py: Opens a connection to the socket
  • cleanup_services.sh: Stops services and removes symlinks

Other Commands

Reload systemd units

sudo systemctl daemon-reload

List loaded units

systemctl list-units --type=service

Check statuses

systemctl status example.socket
Description
No description provided
Readme 33 KiB
Languages
Python 100%