Volodymyr Tkach 361a7997f6 Update README.md | 2 years ago | |
---|---|---|
LICENSE | 2 years ago | |
Makefile | 6 years ago | |
README.md | 2 years ago |
Daemon auto assembly by make utility for bash-empty-daemon
apt-get install make
apt-get install wget
apt-get install unzip
And root access.
su root
apt-get install make; apt-get install wget; apt-get install unzip; mkdir ~/tmpdaemon; cd ~/tmpdaemon; wget -O Makefile https://github.com/vladimirok5959/bash-daemon-maker/releases/download/latest/Makefile; make
make install NAME=**my-service**
Check for dependences...
Check directories...
Download latest empty daemon...
Installing...
Create symlink...
Create config file for logrotate...
Done! Daemon with name 'my-service' successfully generated!
cd ~; rm -rd ~/tmpdaemon
Now we can simply edit /etc/my-service/scripts/example.sh
file or create another one file in /etc/my-service/scripts
folder and write our logic. Auto assembly created for and works only on Linux Debian.