On Tue, 13 Aug 2019 at 16:36:41 +0200, Simon Becherer wrote:
[...]
[Unit] Description=myservice-should-start-something After=firewalld.service [or when ever you want to start it]
[Service] Type=simple ExecStart=/usr/bin/path-to-the-file-you-like-to-start RemainAfterExit=no
[Install] WantedBy=multi-user.target
------------------------ switch it on: systemctl enable myservice.service
Thank you, Simon! Now, here is the file I made according to your sample: ****************** BEGIN OF nfs_wolfgang.service ******************* [Unit] Description=/etc/systemd/system/nfs_wolfgang.service After=xdm.service [Service] Type=simple ExecStart=/home/wolfgang/bin.BGR/nfsclient RemainAfterExit=no [Install] WantedBy=multi-user.target ******************* END OF nfs_wolfgang.service ******************** I switched it on by typing: systemctl enable nfs_wolfgang.service But it does not work. Do you see any error in my file? Thank you again, Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org