- # smsd
- # This service maintains the SMS Daemon from the point the system is
- # started until it is shut down again.
- start on runlevel 3
- start on runlevel 4
- start on runlevel 5
- stop on runlevel 0
- stop on runlevel 1
- stop on runlevel 2
- stop on runlevel 6
- exec /usr/local/bin/smsd.sh
Now i dont have an event.d directory either!
So i found this link
And put the script in /usr/local/bin and entered the info in as in the script above.
Then i put the above text in blue into a file called smsd and put that into /etc/init.d
However when i try to start the Daemon using the command in the guide
Those using upstart can use sudo /sbin/initctl start smsd
to control the SMS deamon. Check it's running using sudo /sbin/initctl status smsd
it throws and output of - initctl: Unknown job: smsd
I have noticed that most other files in the init.d directory are shell scritps where as mine just shows up as a text document!?
Can anybody tell me where i am going wrong and give me my linux lesson for the day?
Thankyou in advance for any time given.