A simple approach is to add a line in /etc/rc.local : or if you want to run the command as root : (the trailing ampersand backgrounds the process and allows the rc.local to continue executing). If you want a full init script, debian distro have a template file, so : and adapt it a bit.share | improve this answer. simple approach is to add a line in /etc/rc.local : or if you want to run the command as root : (the trailing ampersand backgrounds the process and allows the rc.local to continue executing). If you want a full init script, debian distro have a template file, so : and adapt it a bit.