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

Please document how to specify --config path in the plist file #225

Closed
geeohgeegeeoh opened this issue Jan 21, 2024 · 3 comments
Closed

Comments

@geeohgeegeeoh
Copy link

I'd like to move the emailproxy.config to a ~/.config/email-oauth2-proxy/emailproxy.config location. Can you please document what flags and arguments can be put in the plist file?

@simonrob
Copy link
Owner

simonrob commented Jan 22, 2024

The .plist file just contains the commands to run the proxy, so the documentation is the same as that already given in the readme.

If you deselect then re-select the Start at login option when running with the preferred config file path, the .plist file should be updated automatically for you.

If you meant documentation about the format of the file itself, see Apple's articles, or try a tool like Launch Control.

@geeohgeegeeoh
Copy link
Author

geeohgeegeeoh commented Jan 22, 2024 via email

@geeohgeegeeoh
Copy link
Author

<key>ProgramArguments</key>
	<array>
		<string>/opt/homebrew/opt/python@3.11/bin/python3.11</string>
		<string>/Users/<someusername>/Source/email-oauth2-proxy/emailproxy.py</string>
		<string>--config-file</string>
		<string>/Users/<someusername>/.config/email-oauth2-proxy/emailproxy.config</string>
	</array>

(for completeness, what the configuration looks like in the .plist once you add commandline arguments.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants