s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# git pull 后若只改了 systemd 模板(如 StartLimit),执行本脚本重写 live-console.service 并 enable --now
|
||||
# git pull 后若改了 systemd 模板(如 live-console 或 Neko watcher),执行本脚本重写对应 unit 并 enable --now
|
||||
set -euo pipefail
|
||||
|
||||
SELF_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
@@ -10,4 +10,6 @@ ensure_root "$@"
|
||||
load_env
|
||||
log "Rewriting /etc/systemd/system/live-console.service from repo"
|
||||
install_live_console_service
|
||||
log "Rewriting /etc/systemd/system/live-neko-ip-watch.service from repo"
|
||||
install_neko_ip_watch_service
|
||||
log "Done. Check: systemctl status live-console.service --no-pager"
|
||||
|
||||
Reference in New Issue
Block a user