- change @type to classic from longrun
- use s6-softlimit to limit open files
(that is to have the same behavior as the void runit service).
[main]
-@type = longrun
-@version = 0.0.2
+@type = classic
+@version = 0.0.3
@description = "Anonymizing Overlay Network"
@user = ( root tor )
[start]
-@execute = ( tor --runasdaemon 0 )
+@execute = (
+ s6-softlimit -o ${MAX_OPEN_FILES}
+ tor --runasdaemon 0 )
+
+[environment]
+MAX_OPEN_FILES=16384