Hands-on task
This task is step 8 of the course “Processes and signals”
kill: graceful termination
The exporter service is running. Terminate it gracefully — with a signal the process can catch: when stopped this way, the service cleans up after itself (removes its lock file and logs the stop). Don't kill it hard: then the service won't get to clean up.
What you'll practise:
- kill
- pgrep
- SIGTERM
- signals
- process management