11 lines
167 B
Bash
Executable file
11 lines
167 B
Bash
Executable file
#!/bin/bash -eux
|
|
|
|
domain=$1
|
|
ip=$2
|
|
cd /data/domains/$domain
|
|
./scripts/backup
|
|
|
|
systemctl stop u@$domain
|
|
systemctl disable u@$domain
|
|
|
|
tar cvzf /home/core/${domain}.tgz .
|