Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Added systemd service file and refactored main.py #605

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KJSain
Copy link

@KJSain KJSain commented Dec 19, 2023

Hello!

First time open-source contributing. Let me know if I'm doing this wrong.

I switched the main.py to use the argparse library to facilitate easier argument parsing. I also added the service file that I created to use for Linux instead of using screen to offload the backgrounding of the service. I think this makes it more "Linux-y".

  • Switched main.py to use argparse for cleaner code and easier argument additions for the future
  • Added extras folder with systemd service file example

Switched main.py to use argparse for cleaner code and easier argument additions for the future
Added extras folder with systemd service file example
@KJSain KJSain marked this pull request as ready for review December 22, 2023 17:20
Copy link

@dreulavelle dreulavelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat feature! Awesome work.

@sambanks
Copy link

Thanks heaps for this!

I didn't like the screen bits of the install guide so started doing this, then thought to check the issues.

Works great!

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

Successfully merging this pull request may close these issues.

None yet

4 participants