now with config files
This commit is contained in:
parent
f37e55173a
commit
844578f217
6 changed files with 71 additions and 86 deletions
11
deploy.sh
Executable file
11
deploy.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if ! [[ "$UID" -eq 0 ]] ; then
|
||||
echo "Please run as sudo $0 $*" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
declare -r target="${1:-/var/lib/boddle}"
|
||||
|
||||
install -o boddle -s -m 0500 -T bot "${target}/executable"
|
||||
systemctl restart boddle
|
||||
Loading…
Add table
Add a link
Reference in a new issue