mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-04-26 13:54:31 +00:00
added install script
This commit is contained in:
parent
ddab3fd0a0
commit
8da7f4d9e2
@ -1,2 +1,8 @@
|
|||||||
# buildServer
|
# buildServer
|
||||||
buildBot server of quasarapp
|
buildBot server of quasarapp
|
||||||
|
|
||||||
|
## using
|
||||||
|
|
||||||
|
* start.sh - run build bot.
|
||||||
|
* stop.sh - stoped buildbot
|
||||||
|
* install.sh - isntall service for systemd.
|
||||||
|
14
install.sh
Executable file
14
install.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
service=/etc/systemd/system/buildbot.service
|
||||||
|
ROOT=BASE_DIR=$(dirname "$(readlink -f "$0")")
|
||||||
|
|
||||||
|
echo "[Unit]" >> $service
|
||||||
|
echo "Description=BuildBot" >> $service
|
||||||
|
echo "[Service]" >> $service
|
||||||
|
echo "ExecStart=$ROOT/start.sh" >> $service
|
||||||
|
echo "Type=forking" >> $service
|
||||||
|
echo "PIDFile=$ROOT/twistd.pid" >> $service
|
||||||
|
echo "[Install]" >> $service
|
||||||
|
echo "WantedBy=multi-user.target" >> $service
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user