From 068c2bc175861d8d35194e6f5b224b183a1fbc55 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 12 Nov 2026 23:42:26 +0100 Subject: zot: Added rc file --- zot/doinst.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'zot/doinst.sh') diff --git a/zot/doinst.sh b/zot/doinst.sh index dfef45f..623c2ea 100644 --- a/zot/doinst.sh +++ b/zot/doinst.sh @@ -15,3 +15,11 @@ config() { } config etc/zot/config.yaml.new + +# Keep same perms on rc.zot.new: +if [ -e etc/rc.d/rc.zot ]; then + cp -a etc/rc.d/rc.zot etc/rc.d/rc.zot.new.incoming + cat etc/rc.d/rc.zot.new > etc/rc.d/rc.zot.new.incoming + mv etc/rc.d/rc.zot.new.incoming etc/rc.d/rc.zot.new +fi +config etc/rc.d/rc.zot.new -- cgit v1.2.3