Valmiki Ramayana Ayodhya Kanda Sarga 3 Shloka 43
Original Shlokaपरोक्षया वर्तमानो वृत्त्या प्रत्यक्षया तथा।।2.3.43।। अमात्यप्रभृतीस्सर्वाःप्रकृतीश्चानुरञ्जय।
1 source checked for this shloka
परोक्षया indirectly, वृत्त्या with behaviour, तथा also, प्रत्यक्षया with direct behaviour, वर्तमानः conducting, अमात्यप्रभृतीः ministers etc., सर्वाः all, प्रकृतीः people, अनुरञ्जय satisfy.
With your behaviour keep the ministers and the people satisfied by means direct or indirect.