1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Ubuntu Service files

This commit is contained in:
Your Name 2024-05-28 11:22:20 +02:00
parent 45be006694
commit 46029d533c
7 changed files with 112 additions and 0 deletions

7
conf/systemd/install.sh Executable file
View 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" " ")\"