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)
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
fromWordstat = open('wordstat.txt') | |
fromCampaign = open('campaign.txt') | |
result = open('result.txt', 'w') | |
fromCampaignList = list(fromCampaign) | |
for value_list in fromWordstat: |
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)