mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
feat: create autonomous Nivora package repository
Maintain a validated cross-distribution package catalog. Automate upstream updates, isolated builds, diagnostics, and direct publication. Build the official GitHub Desktop sources for Linux with working OAuth.
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
unit=/usr/lib/systemd/system/netbird.service
|
||||
|
||||
if [[ ! -e "$unit" ]] && command -v systemctl >/dev/null 2>&1 && [[ -d /run/systemd/system ]]; then
|
||||
if systemctl is-active --quiet netbird.service; then
|
||||
systemctl stop netbird.service
|
||||
fi
|
||||
if systemctl is-enabled --quiet netbird.service; then
|
||||
systemctl disable netbird.service
|
||||
fi
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
Reference in New Issue
Block a user