-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit ads: - File permission support for IPA file injector - Adds the ability to start services on a live IPA - Configures file injector to run before the basic.target as this is a more robust way to ensure that the injector runs before IPA. Signed-off-by: Adam Rozman <adam.rozman@est.tech>
- Loading branch information
1 parent
33b7a61
commit ac0b635
Showing
2 changed files
with
42 additions
and
21 deletions.
There are no files selected for viewing
7 changes: 2 additions & 5 deletions
7
..._scripts/ipa_builder_elements/ipa-file-injector/root.d/ipa-file-injector.service.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
[Unit] | ||
Description=IPA file injection process | ||
Before=network-pre.target | ||
Wants=network-pre.target | ||
After=local-fs.target | ||
After=network-pre.target | ||
|
||
[Service] | ||
Type=oneshot | ||
User=root | ||
ExecStart=/usr/bin/ipa-file-injector.sh | ||
RemainAfterExit=true | ||
|
||
StandardOutput=journal+console | ||
Environment= | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
WantedBy=basic.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters