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

Would you be interested in a systemd service file to run this as a service? #228

Open
txtsd opened this issue Aug 30, 2024 · 7 comments
Open
Labels

Comments

@txtsd
Copy link

txtsd commented Aug 30, 2024

Description

I've created and included a hardened systemd service file in the AUR packages. It leverages a conf.d file to pull some values without having to override the service, which was designed by @IcyColdified.

@txtsd txtsd added the feature label Aug 30, 2024
@harryqt
Copy link

harryqt commented Sep 2, 2024

I use this on Pi4 (Debian 12): /etc/systemd/system/spoofdpi.service

[Unit]
Description=SpoofDPI service
After=network.target

[Service]
Type=simple
User=harry
ExecStart=/home/harry/.spoofdpi/bin/spoofdpi -addr 0.0.0.0 -dns-addr 192.168.5.1 -banner=false -system-proxy=false
Restart=on-failure

[Install]
WantedBy=multi-user.target

@xvzc
Copy link
Owner

xvzc commented Sep 6, 2024

Yeah sounds great.

@txtsd
Copy link
Author

txtsd commented Sep 6, 2024

What directory should I add it in?

@xvzc
Copy link
Owner

xvzc commented Sep 7, 2024

Will it be just a single file? then it's fine to add it to the root directory

@txtsd
Copy link
Author

txtsd commented Sep 7, 2024

It's two files.

@xvzc
Copy link
Owner

xvzc commented Sep 7, 2024

would it be okay to put them in /_assets/systemd ?

@txtsd
Copy link
Author

txtsd commented Sep 8, 2024

Yes that seems okay for now. We can move them later when we handle packaging.

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

No branches or pull requests

3 participants