Changing(moving) modules path in drupal 8

In drupal 7 when you moved modules from one directory to other, usually running drush rr (registry rebuild) would work, maybe you would need to clear caches. In drupal 8, this wont help. Paths are saved in APC and you will probably need to restart server.
For someone maybe 

php -r "apc_clear_cache()";

will be enough but what I read online most people needed to restart server. This worked for me, restarting php-fpm and then clearing drupal cache

service php7.2-fpm restart
drush cr