[systemd-devel] after=local-fs not enforced
Benoit SCHMID
Benoit.Schmid at unige.ch
Thu Nov 24 15:47:36 UTC 2016
Hello,
On 11/24/2016 04:42 PM, Reindl Harald wrote:
>
> you *really* should post the whole systemd-unit instead pieces!
> have you played around with DefaultDependencies?
Here it is :-)
[Unit]
Description=SAP XXX
After=local-fs.target network-online.target ora_lsnr_XXX.service
remote-fs.target
Wants=ora_lsnr_XXX.service
[Service]
EnvironmentFile=/etc/default/sap_XXX
User=xxxadm
Group=sapsys
ExecStart=/sapmnt/XXX/exe/nuc/linuxx86_64/startsap
ExecStop=/sapmnt/XXX/exe/nuc/linuxx86_64/stopsap
Restart=no
TimeoutStopSec=5min
TimeoutStartSec=5min
Type=forking
[Install]
WantedBy=multi-user.target
Regards,
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Benoit Schmid Tel: (+41-22) 379-7209
University of Geneva - Information Technology Division
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
More information about the systemd-devel
mailing list