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,122 of 138,051    |
|    Bit Twister to Paulo da Silva    |
|    Re: init script    |
|    03 Feb 17 02:08:19    |
      From: BitTwister@mouse-potato.com              On Fri, 3 Feb 2017 02:00:39 +0000, Paulo da Silva wrote:       > 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?              Not real sure, but I believe ExecStart/Stop needs a absolute path value.              --- 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