diff options
Diffstat (limited to '')
| -rw-r--r-- | bundles/copyparty/items.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bundles/copyparty/items.py b/bundles/copyparty/items.py new file mode 100644 index 0000000..2054a5e --- /dev/null +++ b/bundles/copyparty/items.py @@ -0,0 +1,21 @@ +directories = { + "/var/www/copyparty": { + "mode": "0775", + "group": "www-data", + "owner": "webdeploy", + }, +} + +files = { + "/etc/deployments/copyparty/kube.yaml": { + "content_type": "mako", + "context": node.metadata.get("containers")["copyparty"], + "triggers": {"svc_s6rc:copyparty:restart"}, + }, + "/var/lib/copyparty/cfg/copyparty.conf": { + "triggers": {"svc_s6rc:copyparty:restart"}, + }, + "/var/www/copyparty/custom.css": { + "triggers": {"svc_s6rc:copyparty:restart"}, + }, +} |