Systemd and init files created

This commit is contained in:
2025-05-26 14:12:40 +02:00
parent 6e9ac56a3c
commit 743fe964fb
3 changed files with 32 additions and 1 deletions

12
init.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
make
sudo cp ncsambawatcher /usr/bin/
sudo chmod +x /usr/bin/ncsambawatcher
sudo cp configs/ncsambawatcher.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable ncsambawatcher.service
sudo systemctl start ncsambawatcher.service