🌳
pt0/klustersF/hetzn1/epSyncPeertube.mjs
1import * as klusterCfg from './common.mjs'
10const importMetaUrl = import.meta.url
12if (isDirectlyRun(importMetaUrl)) {
13 const action = getAction()
14 const extraActionsH = {updateimg: updateimgAction(importMetaUrl)}
16 if (action === 'updateimg') {
17 await extraActionsH.updateimg()
18 process.exit(0)
19 }
21 const resActionsH = resourcesActionsH()
22 if (!resActionsH[action]) {
23 cliHelp({action, actionsH: {...extraActionsH, ...resActionsH}})
24 process.exit(0)
25 }
27 enterKlusterCtxs(klusterCfg)
28 await eptPeertube({
29 hostname: 'peertube.hetzn1.demokluster.com',
30 adminEmail: 'pete@drawinggame.org',
31 instanceName: 'peattube',
32 })