Giter Club home page Giter Club logo

Comments (3)

neocturne avatar neocturne commented on July 16, 2024

Hi,
for systemd there is already a unit that is used by many distros that package fastd: https://github.com/NeoRaider/fastd/blob/main/doc/examples/fastd%40.service

I'm not familiar with openrc - how specific would this be to Gentoo? If it is only useful for Gentoo, I'd rather not have it in the fastd repo. While there is an OpenWrt init script in this repo, I think adding it here was a mistake, as it is not compatible with all OpenWrt releases, and the OpenWrt package repo would actually be a more appropriate place...

from fastd.

faithanalog avatar faithanalog commented on July 16, 2024

oh, I didn't think to check the examples for a service, thanks for that!

the most prominent use of OpenRC outside gentoo is probably Alpine Linux, where it is the default init system. Though you could use it on anything without too much effort, including the BSDs. but Alpine and Gentoo are the big ones where it's out of the box what someone would be using.

from fastd.

faithanalog avatar faithanalog commented on July 16, 2024

https://github.com/gentoo/guru/blob/master/net-vpn/fastd/files/fastd.init here's the openrc service file I ended up with for OpenRC btw, now that I've gotten it into guru (gentoo users' repo). This gets installed at /etc/init.d/fastd, and then a user (that is to say, me) symlinks it to /etc/init.d/fastd.whatever_vpn and runs rc-update add fastd.whatever_vpn default. The symlink + rc-update is analogous to systemctl enable fastd@whatever_vpn.service, and matches how the wg-quick openrc service works.

from fastd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.