Giter Site home page Giter Site logo

Comments (3)

gizahNL avatar gizahNL commented on September 13, 2024

here's a sample, probably badly written (not a coder/scripwriter), rc.d script useable on FreeBSD (starts correctly, stop command doesn't work due to pidfile containing #)

#!/bin/sh
# PROVIDE: onionrouter
# REQUIRE: LOGIN 
# BEFORE: mail
# KEYWORD: shutdown


. /etc/rc.subr

name=onionrouter
start_cmd="${name}_start"
rcvar=onionrouter_enable
pidfile=/var/run/onionrouter.pid
: ${onionrouter_enable:=no}
: ${onionrouter_config="/usr/local/etc/onionrouter/config.ini"}
: ${onionrouter_map="/usr/local/etc/onionrouter/map.yml"}
: ${onionrouter_flags=""}

onionrouter_start()
{	
/usr/sbin/daemon -P ${pidfile} /usr/local/onionrouter/onionrouter_run --config ${onionrouter_config} --mappings ${onionrouter_map} ${onionrouter_flags}
}

load_rc_config $name
run_rc_command "$1"

from onionrouter.

kargig avatar kargig commented on September 13, 2024
  1. Are you sure /usr/local/libexec/postfix/smtp_tor is executable and contains a proper shebang line ?

  2. I can confirm that currently "[email protected]" doesn't work as expected. It has been reported to the owners of onionmx.org and it should get fixed soon. Thanks for reporting.

  3. If you want to submit your script please open a PR.

Please open different issues for each topic in the future.

from onionrouter.

kargig avatar kargig commented on September 13, 2024

Issue referenced in the title seems solved right now, so I'm going to close it.

Please open separate issues for the rest if you want.

Thanks!

from onionrouter.

Related Issues (8)

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.