Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| import subprocess | |
| import os | |
| import re | |
| import sys | |
| import argparse | |
| import httplib, urllib | |
| import time | |
| """ | |
| # place this file at /home/ethos/check_hash_reboot.py |
| import subprocess | |
| import os | |
| import re | |
| import sys | |
| import argparse | |
| import httplib, urllib | |
| import time | |
| """ | |
| # place this file at /home/ethos/check_hash_reboot.py |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)