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

systemd configuration #88

Open
nyxnor opened this issue Dec 21, 2021 · 0 comments
Open

systemd configuration #88

nyxnor opened this issue Dec 21, 2021 · 0 comments

Comments

@nyxnor
Copy link

nyxnor commented Dec 21, 2021

Hi. I have a systemd script for Vanguards, would you like to add service manager guides? I am also trying to make /etc/rc.d/vanguards for OpenBSD (not working currently).

Systemd service for debian:

printf "
[Unit]
Description=Additional protections for Tor onion services
[email protected]
After=network.target nss-lookup.target

[Service]
WorkingDirectory=/var/lib/tor/vanguards
ExecStart=/usr/bin/python3 src/vanguards.py --config /etc/tor/vanguards.conf
User=debian-tor
Group=debian-tor
Type=simple
Restart=always

[Install]
WantedBy=multi-user.target
" | sudo tee /etc/system/systemd/[email protected]
sudo systemctl daemon-reload
sudo systemctl start [email protected]
sudo journalctl -fu [email protected]
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

1 participant