chore: add deploy helper scripts and move interval to SCAN_INTERVAL env in nssm configs to standardize service setup
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Stop all services
|
||||
services=$(nssm list | grep "DirectoryCleaner" | awk '{print $1}')
|
||||
|
||||
for service in $services; do
|
||||
echo "Stopping $service"
|
||||
nssm stop "$service"
|
||||
done
|
Reference in New Issue
Block a user