Changes

93 bytes added ,  15:07, 22 April 2016
no edit summary
Line 23: Line 23:  
To overcome the limitation above, <code>systemd-autofs-restart.sh</code> action script was introduced. It can be found in <code>scripts</code> directory in CRIU sources.
 
To overcome the limitation above, <code>systemd-autofs-restart.sh</code> action script was introduced. It can be found in <code>scripts</code> directory in CRIU sources.
   −
This script is aimed to be used with CRIU option <code>--action-script</code> on restore to fix the issue for those systemd services, which can be painlessly restarted.   
+
This script is aimed to be used with CRIU option <code>--action-script</code> on restore to fix the issue for those systemd services, which can be painlessly restarted.
 +
 
 +
Can be used something like below
 +
 
 +
  criu restore ... --action-script systemd-autofs-restart.sh
    
It restarts only one service so far: <code>proc-sys-fs-binfmt_misc.automount</code>. But it can be easily extended to support any other.
 
It restarts only one service so far: <code>proc-sys-fs-binfmt_misc.automount</code>. But it can be easily extended to support any other.
    
[[Category:HOWTO]]
 
[[Category:HOWTO]]
36

edits