m28n-init-2

by matheus28
68333 deployments · 68322 still active · last rev. 17 days ago

Compatible with: Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 14.04 LTS
						#!/bin/sh

#<UDF name="M28N_SERVER_ID" label="ServerID">
#<UDF name="M28N_SERVICE_SECRET" label="Service Secret">

curl -H "Authorization: ServerToken $M28N_SERVICE_SECRET" "https://api.n.m28.io/server/$M28N_SERVER_ID/init" | /bin/bash