mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
8 lines
263 B
Bash
8 lines
263 B
Bash
|
#!/bin/bash
|
||
|
FILEPATH=$(readlink -f "$0");
|
||
|
SCRIPTPATH=$(dirname "$FILEPATH");
|
||
|
cd "$SCRIPTPATH"
|
||
|
cp webvirt-* /lib/systemd/system/
|
||
|
cp webvirt /etc/default/
|
||
|
echo Run to start services \"systemctl daemon-reload\; systemctl enable --now $(ls webvirt-* | tr "\n" " ")\"
|