mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Ubuntu Service files
This commit is contained in:
parent
45be006694
commit
46029d533c
7 changed files with 112 additions and 0 deletions
7
conf/systemd/install.sh
Executable file
7
conf/systemd/install.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/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" " ")\"
|
||||
Loading…
Add table
Add a link
Reference in a new issue