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,118 of 138,051   
   Paulo da Silva to All   
   Re: init script   
   03 Feb 17 02:00:39   
   
   From: p_s_d_a_s_i_l_v_a_ns@netcabo.pt   
      
   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