OpenRC init script help

1 post / 0 new
#1 Sat, 2017-12-09 08:50
hgfms
  • hgfms's picture
  • Offline
  • Last seen: 3 months 2 weeks ago
  • Joined: 2017-12-03

So I've installed Alpine and got it running just how I like it except for the one thing that has been kept bothering me.
I want rtorrent to start as a daemon using the new feature that has been enabled for just that purpose, however I can't seem to get my
init script right. The system starts rtorrent at the right specified time but start-stop-daemon isn't correctly working and I can't seem to figure out
how to launch rtorrent with specified laucnh options.

When I launch rtorrent from normal terminal using launch options I've tried looking around for a guide or something to help me but to avail. Would greatly appreciate some pointers in the right direction.

Here'a my OpenRC init script so far:
https://pastebin.com/z5MDizJp