File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
packaging/generic-rpm-integrated Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,7 @@ amazon-linux-rpm-integrated: .amazon-linux-rpm-integrated-done
390390 ./scripts/update-version.sh
391391 cp packaging/generic-rpm-integrated/amazon-ecs-init.spec amazon-ecs-init.spec
392392 cp packaging/generic-rpm-integrated/ecs.service ecs.service
393+ cp packaging/generic-rpm-integrated/ecs.path ecs.path
393394 cp packaging/generic-rpm-integrated/amazon-ecs-volume-plugin.service amazon-ecs-volume-plugin.service
394395 cp packaging/generic-rpm-integrated/amazon-ecs-volume-plugin.socket amazon-ecs-volume-plugin.socket
395396 tar -czf ./sources.tgz ecs-init scripts misc agent amazon-ecs-cni-plugins amazon-vpc-cni-plugins agent-container Makefile VERSION GO_VERSION
Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ ExclusiveArch: x86_64 aarch64
2727
2828Source0: sources.tgz
2929Source1: ecs.service
30- Source2: amazon-ecs-volume-plugin.service
31- Source3: amazon-ecs-volume-plugin.socket
30+ Source2: ecs.path
31+ Source3: amazon-ecs-volume-plugin.service
32+ Source4: amazon-ecs-volume-plugin.socket
3233
3334BuildRequires: systemd
3435Requires: systemd
@@ -64,6 +65,7 @@ install -m %{no_exec_perm} %{agent_image} %{buildroot}%{_cachedir}/ecs/
6465mkdir -p %{buildroot }%{_sharedstatedir }/ecs/data
6566
6667install -m %{no_exec_perm } -D %{SOURCE1 } $RPM_BUILD_ROOT/%{_unitdir }/ecs.service
68+ install -m %{no_exec_perm } -D %{SOURCE1 } $RPM_BUILD_ROOT/%{_unitdir }/ecs.path
6769install -m %{no_exec_perm } -D %{SOURCE2 } $RPM_BUILD_ROOT/%{_unitdir }/amazon-ecs-volume-plugin.service
6870install -m %{no_exec_perm } -D %{SOURCE3 } $RPM_BUILD_ROOT/%{_unitdir }/amazon-ecs-volume-plugin.socket
6971
@@ -78,6 +80,7 @@ install -m %{no_exec_perm} -D %{SOURCE3} $RPM_BUILD_ROOT/%{_unitdir}/amazon-ecs-
7880%{_cachedir }/ecs/state
7981%dir %{_sharedstatedir }/ecs/data
8082%{_unitdir }/ecs.service
83+ %{_unitdir }/ecs.path
8184%{_unitdir }/amazon-ecs-volume-plugin.service
8285%{_unitdir }/amazon-ecs-volume-plugin.socket
8386
Original file line number Diff line number Diff line change 1+ [Path]
2+ PathExists=/var/lib/ecs/state
You can’t perform that action at this time.
0 commit comments