Semaphore/deployment/systemd/util/install.sh

10 lines
256 B
Bash
Raw Normal View History

2018-04-06 22:14:50 +02:00
#!/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
2018-04-09 15:40:17 +02:00
systemctl daemon-reload
2018-04-06 22:14:50 +02:00
systemctl start semaphore.service