Refactor sample_openrc

Closes-Enhancement: #18
Merge pull request #20 from josug-book1-materials/enhancement/18

Refactor sample_openrc