Search found 9 matches

by MattG
Wed Feb 06, 2019 10:37 pm
Forum: Troubleshooting
Topic: [ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen
Replies: 6
Views: 397

Re: [ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen

I am having this problem too. My system: v6.20.6 | RPi 3 Model B (armv7l) That is, when I log in, it keeps saying: [ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen. Please complete or exit, before continuing. Until I hit Ctrl-C. More info, after looking at this p...
by MattG
Mon Dec 17, 2018 12:38 am
Forum: General Discussion
Topic: dietpi-services vs systemd vs init
Replies: 13
Views: 606

Re: dietpi-services vs systemd vs init

Now even dietpi-services does not seem to honor cpu affinity/scheduling preferences. I'm switching between two different DACs right now, so I'm restarting MPD a fair amount. Example, I first stop mpd via "dietpi-services stop mpd". I verify no mpd process is running. Then I do "dietpi-services start...
by MattG
Sat Dec 15, 2018 1:59 am
Forum: General Discussion
Topic: dietpi-services vs systemd vs init
Replies: 13
Views: 606

Re: dietpi-services vs systemd vs init

FYI, another side-effect of wrapping dietpi-services around systemd: again, if you want cpu affinity/priority adjustments, you can no longer do "systemctl restart <service>", you need to instead use "dietpi-services restart <service>". This is because dietpi-services "owns" the cpu affinity/priority...
by MattG
Tue Dec 11, 2018 4:06 pm
Forum: General Discussion
Topic: dietpi-services vs systemd vs init
Replies: 13
Views: 606

Re: dietpi-services vs systemd vs init

MichaIng - thank you! I removed the systemd mpd drop-in I mentioned above, and instead used dietpi-process_tool as you suggested. After reboot, everything had the affinity and scheduling params I wanted. That also explains why the affinity/scheduling I specified in my drop-in appeared to not be hon...
by MattG
Tue Dec 11, 2018 3:42 am
Forum: General Discussion
Topic: dietpi-services vs systemd vs init
Replies: 13
Views: 606

Re: dietpi-services vs systemd vs init

Thank you, that is indeed helpful. I may be overlooking something, but my drop-in doesn't seem to be honored on reboot. Specifically, the stock mpd.service file has this: ExecStart=/usr/local/bin/mpd --no-daemon /etc/mpd.conf And in my drop-in override, I have this: ExecStart= ExecStart=/usr/bin/tas...
by MattG
Tue Dec 11, 2018 3:32 am
Forum: General Discussion
Topic: Changing kernel commandline options (persistent /boot/cmdline.txt)?
Replies: 3
Views: 232

Re: Changing kernel commandline options (persistent /boot/cmdline.txt)?

Ahh, thank you, I suppose I could have just tried it, and found it's automatically persistent. :)

Though the note in /boot/config.txt does say "/boot/*" files are over-written, which implies /boot/cmdline.txt. So it is somewhat misleading.
by MattG
Sat Dec 08, 2018 5:01 pm
Forum: General Discussion
Topic: dietpi-services vs systemd vs init
Replies: 13
Views: 606

dietpi-services vs systemd vs init

I'm trying to understand where dietpi-services starts and ends versus systemd and/or init. In particular, I want to tweak the runtime parameters of the mpd daemon. It looks like there is a systemd service file for mpd here: /lib/systemd/system/mpd.service However, when I do "dietpi-services enable m...
by MattG
Sat Dec 08, 2018 4:33 pm
Forum: General Discussion
Topic: Changing kernel commandline options (persistent /boot/cmdline.txt)?
Replies: 3
Views: 232

Changing kernel commandline options (persistent /boot/cmdline.txt)?

What is the right way to modify kernel commandline arguments? Typically this is one via /boot/cmdline.txt, but as per the warning at the top of /Dietpi/config.txt: #Modifcations to /boot/* files, will not be saved when powered on. #Please ensure you edit from the DietPi-RamDisk location /DietPi/* Bu...