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,111 of 138,051   
   Carlos E.R. to Carlos E.R.   
   Re: init script   
   28 Jan 17 22:37:50   
   
   From: robin_listas@invalid.es   
      
   On 2017-01-28 18:33, Carlos E.R. wrote:   
      
   >> A simple template would be nice. I don't want want to go thru the   
   >> process of understanding/learning systemd, at least for now.   
   >   
   >   
   > Maybe (untested):   
   >   
   > /etc/systemd/system/mine.service   
   >   
   > Unit]   
   > Description=Runs my things after mounting files   
   > After=local-fs.target   
   >   
   > [Service]   
   > Type=oneshot   
   > RemainAfterExit=true   
   > ExecStart=-/usr/local/bin/mine   
   >   
   > [Install]   
   > WantedBy=local-fs.target   
      
   Mmm. This is wrong. Will not run on close.   
      
   --   
   Cheers, Carlos.   
      
   --- 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