Refactor sample_openrc

Closes-Enhancement: #18