dietpi-services not very flexible

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
filemoon
Posts: 10
Joined: Thu Feb 25, 2016 5:18 pm

dietpi-services not very flexible

Post by filemoon »

Hi.


I have the problem with dietpi-services script, the issue is script is not very flexible - services are hardcoded in the script himself. Can we have them present in external "services" file?

Why am I asking?

I scheduled backup (dietpi-backup) in cron and I've noticed at the begining of backup redis-server is turned off (redis depended services too) - and at the end of backup redis is started but services (in my case is ntopng) not.

If dietpi-servies script will use external services file, list can be easily edited and change will stay when dietpi will be updated.


aSERVICE_NAME=(
"cron"
"transmission-daemon"
"proftpd"
"samba"
"vsftpd"
"apache2"
"nginx"
"lighttpd"
"php5-fpm"
"mysql"
"mpd"
"ympd"
"minidlna"
"noip2"
"grasshopper"
"dnsmasq"
"subsonic"
"webiopi"
"haproxy"
"fail2ban"
"openvpn"
"isc-dhcp-server"
"hostapd"
"shairport-sync"
"squeezelite"
"mariadb"
"redis-server"
"emonhub"
"netdata"
"mumble-server"
"emby-server"
"plexmediaserver"
"ntopng" + added


Change small but handy :)
Post Reply