Now, i have 2 questions:
1) How do i add both processes to be started automatically as systemwide services (by hand it's easy: 'sudo service start <servicename>').
2) I've a problem with tor, which does not want to start. In the terminal i get the following msg:
Code: Select all
Starte den tor Systemdienst
Raising maximum number of filedescriptors (ulimit -n) to 32768...
Starting Tor...
Nov 17 17:47:50.311 [notice] Tor v0.2.8.6 running on Linux with Libevent 2.0.22-stable, OpenSSL 1.0.2j and Zlib 1.2.8.
Nov 17 17:47:50.311 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Nov 17 17:47:50.311 [notice] Read configuration file "/etc/tor/torrc".
Nov 17 17:47:50.317 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 17 17:47:50.318 [warn] Error setting configured user: tor not found
Nov 17 17:47:50.318 [warn] Failed to parse/validate config: Problem with User value. See logs for details.
Nov 17 17:47:50.318 [err] Reading config failed--see warnings above.
Code: Select all
Nov 17 17:47:50.318 [warn] Error setting configured user: tor not found
In /etc/torrc i find this:
Code: Select all
## This is a custom Slackware torrc. The original Tor Project torrc file is
## still available as /etc/torrc/torrc.sample
Code: Select all
## On startup, setuid to this user and setgid to their primary group.
User tor

In debian there were no problems at all to start debian as a service. In Manjaro OpenRC i had to change the rights, but then it worked out of the box.
Thanks a lot for any pointer!