summarylogtreecommitdiffstats
path: root/torrc.d.conf
blob: 903ce06968521a9285165e396a895ac12c104a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Service]
ExecStart=
ExecReload=

Type=forking
RuntimeDirectory=tor

Environment="CMD_TORRC_CAT=cat /etc/tor/torrc /etc/tor/torrc.d/*.torrc > /run/tor/torrc"

ExecStartPre=/usr/bin/bash -O nullglob -c ${CMD_TORRC_CAT}

ExecStart=/usr/bin/tor -f /run/tor/torrc --RunAsDaemon 1

ExecReload=/usr/bin/bash -O nullglob -c ${CMD_TORRC_CAT}
ExecReload=/usr/bin/kill -HUP ${MAINPID}