I don't restart apache2

Nice to meet you.

I’m a newbee on my cloud.

My system is My Cloud gen2 2TB.

And I installed transmission and minidlna. and all is perfact!!.

But… I don’t access dashboard at outside.

So, I have learned how to access my dashboard on the website.

/etc/apache2/sites-available/wdnas-ui.conf
/var/www/rest-api/config/globalconfig.ini

two files are changed.

And I want to restart apache2. But Not work!!

root@WDMyCloud / # /etc/apache2 reload
-sh: /etc/apache2: Permission denied

Could you help me to solve my problem?

Try sh /etc/rc2.d/S04apache2 reload

RAC

It not work for me on My Cloud EX2 ultra

Not sure how the EX2 functions. Try over on there forum.