Difference between revisions of "Limit Service's Disk Space"

Line 11: Line 11:
 
<span style="color:red">If you have existing services of this type go to Settings > Game Tools and run the Verify/Repair tool on your server with "Update run as user" checked.</span>
 
<span style="color:red">If you have existing services of this type go to Settings > Game Tools and run the Verify/Repair tool on your server with "Update run as user" checked.</span>
  
* '''Configure a variable for the quota value.''' Click on the Variables icon. Create a new variable named '''DiskQuota''' these values:
+
* '''Configure a variable for the quota value.''' Click on the Variables icon. Click on new and enter these values:
 +
**Name: DiskQuota
 
**Default value: 0
 
**Default value: 0
 
**Is numeric: Checked
 
**Is numeric: Checked

Revision as of 19:43, 24 February 2015

Configure disk quotas in your drive

Linux

  • Follow these instructions to configure disk quotas on Linux: Linux_Quotas

Windows

  • Enable quotas on the drive where the services will be created. The configuration shown in the screenshot is recommended.

WindowsQuotas.png

Configure the game

  • Configure the game with Run As = User per Service. Go to Settings > Games > select the game > Select the "Run As" tab. Set Run As = User per service and save. This will create one Windows/Linux user for each service. The disk quota will be created for this user.

If you have existing services of this type go to Settings > Game Tools and run the Verify/Repair tool on your server with "Update run as user" checked.

  • Configure a variable for the quota value. Click on the Variables icon. Click on new and enter these values:
    • Name: DiskQuota
    • Default value: 0
    • Is numeric: Checked
    • Preserve value: Checked
  • Select the Variable Options tab and configure these values:
    • Script parameter: Checked
    • Save script parameter value: Checked
    • Admin access: Checked
    • Value is required: Checked
    • Item Type: Numeric textbox
    • Label: Disk Quota (MB)
    • Description: Specify the disk quota in MB. Set to 0 for unlimited space.
    • Decimal Digits: 0
Retrieved from "https://help.tcadmin.com/index.php?title=Limit_Service%27s_Disk_Space&oldid=1220"