diff options
| author | alex <alex@pdp7.net> | 2026-06-18 22:32:33 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2026-06-18 22:34:30 +0200 |
| commit | ae29e819661173d8e4d1f8506cd159636751f184 (patch) | |
| tree | bb3fdccc9ec3b054d57b9959ae23eaa8f3a40fbb /scripts/p7s/bitlbee.py | |
| parent | 1e3dd12537327407705149e3a8739e18fa539d52 (diff) | |
Remove workstationmaster
Closes #779
Diffstat (limited to 'scripts/p7s/bitlbee.py')
| -rw-r--r-- | scripts/p7s/bitlbee.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/p7s/bitlbee.py b/scripts/p7s/bitlbee.py deleted file mode 100644 index 4f0acbd4..00000000 --- a/scripts/p7s/bitlbee.py +++ /dev/null @@ -1,31 +0,0 @@ -import pathlib -import textwrap - - -def setup_bitlbee(): - home = pathlib.Path.home() - config = home / ".config" / "containers" / "systemd" - config.mkdir(parents=True, exist_ok=True) - (config / "bitlbee.container").write_text(textwrap.dedent(""" - [Unit] - Description=IM-IRC bridge - - [Container] - Image=quay.io/alexpdp7/workstation:latest - Volume=/home/alex/.local/lib/bitlbee:/var/lib/bitlbee/ - # running this on an LXC container, which borks SecurityLabelDisable - #SecurityLabelDisable=true - PublishPort=6668:6667 - - Exec=bitlbee -Fnv - - [Service] - # Extend Timeout to allow time to pull the image - TimeoutStartSec=900 - - [Install] - # Start by default on boot - WantedBy=multi-user.target default.target - """).lstrip()) - - (home / ".local" / "lib" / "bitlbee").mkdir(parents=True, exist_ok=True) |
