08-27-2020, 09:29 AM
######################################### Linux #############################################
Create an user for the desired service
Ensure the created user has full access to the binary you want to set up:
wget https://raw.github.com/frdmn/service-dae...ter/debian -O /etc/init.d/example
sudo vi /etc/init.d/example
chmod +x /etc/init.d/example
update-rc.d example defaults
service example start
########################################## Ubuntu #############################################
Create an user for the desired service
Ensure the created user has full access to the binary you want to set up:
/usr/bin/python
sudo wget https://raw.github.com/frdmn/service-dae...ter/ubuntu -O /etc/init/example.conf
sudo vi /etc/init/example.conf
sudo start example
Create an user for the desired service
Ensure the created user has full access to the binary you want to set up:
wget https://raw.github.com/frdmn/service-dae...ter/debian -O /etc/init.d/example
sudo vi /etc/init.d/example
chmod +x /etc/init.d/example
update-rc.d example defaults
service example start
########################################## Ubuntu #############################################
Create an user for the desired service
Ensure the created user has full access to the binary you want to set up:
/usr/bin/python
sudo wget https://raw.github.com/frdmn/service-dae...ter/ubuntu -O /etc/init/example.conf
sudo vi /etc/init/example.conf
sudo start example