diff options
-rw-r--r-- | kvmd.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd.install b/kvmd.install index fdcd641c..73f9440a 100644 --- a/kvmd.install +++ b/kvmd.install @@ -16,12 +16,12 @@ post_upgrade() { chown kvmd /var/lib/kvmd/msd || true - if [ ! -d /etc/kvmd/nginx/ssl ]; then + if [ ! -d /etc/kvmd/nginx/ssl/server.crt ]; then echo "==> Generating KVMD-Nginx certificate ..." kvmd-gencert --do-the-thing fi - if [ ! -d /etc/kvmd/vnc/ssl ]; then + if [ ! -d /etc/kvmd/vnc/ssl/server.crt ]; then echo "==> Generating KVMD-VNC certificate ..." kvmd-gencert --do-the-thing --vnc fi |