mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-27 08:35:22 +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" " ")\"
|