DietPi-Services | Add support for custom services from file

Created on 30 Jan 2017  ·  9Comments  ·  Source: MichaIng/DietPi

Most helpful comment

Tested, works with rpimonitor-helper on NanoPi Neo. 👍

Hope, no need any more to manually edit /DietPi/dietpi/dietpi-services every time I make a dietpi-update . 😃

All 9 comments

include file = /DietPi/dietpi/.dietpi-services_include

example usage:

myservice
anotherservice
service_four

Available for v144, can be tested now with:

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-services -O /DietPi/dietpi/dietpi-services
dietpi-services disable
dietpi-services restart

Tested, works with rpimonitor-helper on NanoPi Neo. 👍

Hope, no need any more to manually edit /DietPi/dietpi/dietpi-services every time I make a dietpi-update . 😃

@k-plan

Excellent, thanks 👍 . Will mark as completed.

Nice.

Sorry, but now it's time to make some documentation for dietpi-services

Perhaps you could please drop some lines into your forum, like for dietpi-cron or dietpi-process_tool

http://dietpi.com/phpbb/viewtopic.php?f=8&t=5

 root@NanoPi-Neo:~# dietpi-services -help

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: -help
 Please wait...


DietPi-Services
Available commands: start / stop / restart / enable / disable

@k-plan

Perhaps you could please drop some lines into your forum, like for dietpi-cron or dietpi-process_tool

😉

Thanks for this, sadly doesn't seem to work for gmediarender at the moment (although just as likely to be user error as a real issue)

Works fine on XU4.

List of daemons I added

  • Tonido
  • couchpotato
  • gitea
Was this page helpful?
0 / 5 - 0 ratings