diff options
author | 2013-10-28 19:41:27 +0000 | |
---|---|---|
committer | 2013-10-28 19:41:27 +0000 | |
commit | 28c5ff88f97afd52b6605dd1dcea5f808b73e71c (patch) | |
tree | a5fbd23b9f000df5b9f70d7f757d7ace9a81c843 /net-misc/tor/files | |
parent | Version bump (diff) | |
download | gentoo-2-28c5ff88f97afd52b6605dd1dcea5f808b73e71c.tar.gz gentoo-2-28c5ff88f97afd52b6605dd1dcea5f808b73e71c.tar.bz2 gentoo-2-28c5ff88f97afd52b6605dd1dcea5f808b73e71c.zip |
Add unit file (#488426 by Emery Hemingway)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-misc/tor/files')
-rw-r--r-- | net-misc/tor/files/tor.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/tor/files/tor.service b/net-misc/tor/files/tor.service new file mode 100644 index 000000000000..9d84caa6f690 --- /dev/null +++ b/net-misc/tor/files/tor.service @@ -0,0 +1,14 @@ +[Unit] +Description=The Onion Router + +[Service] +ExecStartPre=/usr/bin/tor --verify-config -f /etc/tor/torrc +ExecStart=/usr/bin/tor --runasdaemon 0 -f /etc/tor/torrc +ExecStop=/bin/kill -INT $MAINPID +ExecReload=/bin/kill -HUP $MAINPID +TimeoutStopSec=32 +LimitNOFILE=30000 +Group=tor + +[Install] +WantedBy=multi-user.target |