forked from NodeOS/NodeOS
-
Notifications
You must be signed in to change notification settings - Fork 0
services
Lite McFish edited this page Feb 23, 2016
·
2 revisions
Services are long-running processes that provide utility to the system. Common services you might find on a Linux system are
-
sshdfor ssh access -
dhcpdto set the IP address at boot -
gettyfor connecting the console to a login session -
ntpdfor setting the time from the network
These services are generally automated and long running. Let's itemize the actual requirements of a service.
- services can be started at boot automatically
- services should make an effort to retry on failure
- users should be able to start services at runtime
- services should survive a user logging out
The above are standard for almost every service manager today. Typically init or another service manager handles system services.
- Mac OS X uses
launchd - Ubuntu uses
upstard - RHEL uses
systemd - Windows uses ?
- SmartOS uses
SMF
NodeOS uses PalmTree as it's service starter. You can read more about working with it here on the wiki (see Service Starter) and explore it's repository too.