- fix systemd unit dependencies.

This commit is contained in:
Ian Kent 2016-02-02 10:24:33 +08:00
parent af7fe5db28
commit ae02c67f2a
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@ Summary: Automount utilities including an updated version of Amd
Name: am-utils
Version: 6.2.0
%define upstream_version 6.2
Release: 7%{?dist}
Release: 8%{?dist}
License: BSD
Epoch: 5
Group: System Environment/Daemons
@ -190,6 +190,9 @@ fi
%{_libdir}/libamu.so*
%changelog
* Tue Feb 2 2016 Ian Kent <ikent@redhat.com> - 5:6.2.0-8
- fix systemd unit dependencies.
* Tue Feb 2 2016 Ian Kent <ikent@redhat.com> - 5:6.2.0-7
- fix permissions on amd.service and amd.conf.

View File

@ -1,6 +1,7 @@
[Unit]
Description=automount daemon that mounts devices and NFS hosts on demand
After=syslog.target network.target
After=syslog.target network.target network-online.target rpcbind.service
Wants=network-online.target rpcbind.service
[Service]
EnvironmentFile=-/etc/sysconfig/amd