S.C. Code Ann. § 25-1-3020
Any person subject to this code who is found under the influence of intoxicating liquors or any controlled substance on duty or sleeping upon his post, or who leaves his post before he is regularly relieved, may be punished as a court-martial may direct.