Init file for Alpine

This commit is contained in:
aceberg 2025-03-30 13:25:22 +07:00
parent f161140e94
commit f68cd0ddd6
2 changed files with 9 additions and 0 deletions

View file

@ -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:

6
configs/watchyourlan Normal file
View file

@ -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"