Switch the user name on startup.
[quix0rs-apt-p2p.git] / apt_p2p / apt_p2p_conf.py
index e4f0bf9f7733efd94e6498e9789e924b319496cb..3f17473c9dbe46ce9c9c78ccf744fc9da111faad 100644 (file)
@@ -73,6 +73,9 @@ DEFAULTS = {
     # This should be a time slightly less than the DHT's KEY_EXPIRE value.
     'KEY_REFRESH': '57m',
 
+    # The user name to try and run as (leave blank to run as current user)
+    'USERNAME': 'apt-p2p',
+    
     # Which DHT implementation to use.
     # It must be possible to do "from <DHT>.DHT import DHT" to get a class that
     # implements the IDHT interface.