view service/announce/tasks.py @ 1748:d012c53c5ae8

powereagle now registers a hostname with dhcp so we don't have to hunt for it
author drewp@bigasterisk.com
date Sat, 23 Mar 2024 14:57:59 -0700
parents f70514b127d2
children
line wrap: on
line source

from invoke import task, Collection

import sys
sys.path.append('/my/proj/release')
from serv_tasks import serv_tasks

ns = Collection()

coll = Collection('announce')
ns.add_collection(coll)
serv_tasks(coll, 'serv.n3', 'announce')

coll = Collection('tts')
ns.add_collection(coll)
serv_tasks(ns, 'serv.n3', 'tts_server')