Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration File instead of sytemd unit #7

Open
kajus-park opened this issue Nov 28, 2021 · 2 comments
Open

Configuration File instead of sytemd unit #7

kajus-park opened this issue Nov 28, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@kajus-park
Copy link

After installing the deb package the lisp config file was placed in
/usr/local/lib/systemd/system/mppopmd.service
/usr/local/lib/systemd/user/mppopmd.service

moving these to ~/.config/mppopmd.conf
and adding an appropriate systemd unit fixed this.

Something got mixed up here.
Thank you for this program.

@sp1ff
Copy link
Owner

sp1ff commented Nov 29, 2021

Doh! Will take a look-- sorry for the trouble.

@kajus-park
Copy link
Author

I don't mind.
Also I read a bit, and if I'm reading this correctly, then the configuration should go into into
~/.config/mppopm/mppopmd.conf
or
~/.config/mppopmd/mppopmd.conf
or
~/.config/mpdpopm/mppopmd.conf

Or something like that, not quite sure what would be best practice there.

" A user-specific version of the configuration file may be created in $XDG_CONFIG_HOME/subdir/filename, taking into account the default value for $XDG_CONFIG_HOME if $XDG_CONFIG_HOME is not set. "

On the same note the default config location could be more XDG too.

"Default configuration files should be installed to $sysconfdir/xdg/subdir/filename with $sysconfdir defaulting to /etc. "

I don't want to nag, but if you got the time for this it would be nice.
Props for not cluttering the home directory.

XDG-Specifications
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#referencing

@sp1ff sp1ff added the bug Something isn't working label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants