From f68cd0ddd699303fe74a955d5cdf4fc9e5cb4f6b Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Sun, 30 Mar 2025 13:25:22 +0700 Subject: [PATCH] Init file for Alpine --- .goreleaser.yaml | 3 +++ configs/watchyourlan | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 configs/watchyourlan diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 26777a4..16b32c4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -47,6 +47,9 @@ nfpms: dependencies: # Don't forget to edit! - arp-scan - tzdata + contents: + - src: ./configs/watchyourlan + dst: /etc/init.d/watchyourlan archives: - files: diff --git a/configs/watchyourlan b/configs/watchyourlan new file mode 100644 index 0000000..e85140a --- /dev/null +++ b/configs/watchyourlan @@ -0,0 +1,6 @@ +#!/sbin/openrc-run +name="WatchYourLAN" +description="Lightweight network IP scanner with web GUI" +command="/usr/bin/watchyourlan" +command_background=true +pidfile="/run/watchyourlan.pid" \ No newline at end of file