#!/usr/bin/bash

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    exit
fi

sudo -u semaphore semaphore setup --config=/etc/semaphore/config.json
