Add scoped password-free mailbox import receiver
This commit is contained in:
1 parent
465c209447
commit
23cddcaac8
10 files changed
+534
-7
No files matched your search
@@ -87,6 +87,15 @@ def build_package(source, wheel, ref, output):
|
||||
path = units / name
|
||||
shutil.copyfile(source_dir / "deploy/systemd" / name, path)
|
||||
path.chmod(0o644)
|
||||
import_access = (
|
||||
"coulobre-mailbox-import-worker.service.d/receiver.conf"
|
||||
)
|
||||
import_unit = units / import_access
|
||||
import_unit.parent.mkdir()
|
||||
shutil.copyfile(
|
||||
source_dir / "deploy/systemd" / import_access, import_unit
|
||||
)
|
||||
import_unit.chmod(0o644)
|
||||
doc = root / "usr/share/doc/coulobre-panel"
|
||||
doc.mkdir(parents=True)
|
||||
shutil.copyfile(source_dir / "LICENSE", doc / "copyright")
|
||||
|
||||
Reference in new issue
Block a user