Semaphore/deployment/systemd/util/install.sh
2018-04-09 13:40:17 +00:00

10 lines
256 B
Bash
Executable File

#!/usr/bin/env bash
set -e
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p /etc/semaphore
cp ${HERE}/../semaphore.service /etc/systemd/system
cp ${HERE}/../env /etc/semaphore/env
systemctl daemon-reload
systemctl start semaphore.service