home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,129 of 138,051   
   Paulo da Silva to All   
   Re: init script   
   03 Feb 17 04:24:09   
   
   From: p_s_d_a_s_i_l_v_a_ns@netcabo.pt   
      
   It would be nice also to force it to complete before network.   
   Is it enough or correct to just add   
   Before=network.target   
   after After=local-fs.target?   
      
      
   Ă€s 02:00 de 03-02-2017, Paulo da Silva escreveu:   
   > The working script:   
   >   
   > # Activate it with:   
   > # systemctl enable cvmount.service   
   > # systemctl daemon-reload   
   >   
   > [Unit]   
   > Description=Mounts CVs   
   > After=local-fs.target   
   >   
   > [Service]   
   > Type=oneshot   
   > RemainAfterExit=true   
   > ExecStart=/.../Smount mount   
   > ExecStop=/.../Smount umount   
   >   
   > [Install]   
   > WantedBy=local-fs.target   
   >   
   > A small problem:   
   > RemainAfterExit=true when omitted causes both ExecStart AND ExecStop to   
   > ve executed during boot?   
   >   
   > Thanks to all who answered.   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca