forked from eclipse-kanto/kanto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-kanto#85] Provide RPM support
Added RPM packaging and relevant resources - scripts, builds, packaging config. Signed-off-by: Konstantina Gramatova <[email protected]>
- Loading branch information
1 parent
d32a03f
commit 25c3434
Showing
3 changed files
with
54 additions
and
16 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Enable all Kanto-related services | ||
|
||
# Enable containerd and mosquitto | ||
enable containerd.service | ||
enable mosquitto.service | ||
|
||
# Enable the Kanto services | ||
enable suite-connector.service | ||
enable container-management.service | ||
enable file-upload.service | ||
enable software-update.service | ||
enable file-backup.service | ||
enable system-metrics.service |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
echo "include_dir /etc/mosquitto/conf.d" >> /etc/mosquitto/mosquitto.conf | ||
|
||
# use "systemctl preset" | ||
# instead of "systemctl enable" | ||
# as per Fedora's guidelines | ||
|
||
# containerd and mosquitto | ||
systemctl preset containerd.service | ||
systemctl preset mosquitto.service | ||
|
||
# the Kanto services | ||
systemctl preset suite-connector.service | ||
systemctl preset container-management.service | ||
systemctl preset file-upload.service | ||
systemctl preset software-update.service | ||
systemctl preset file-backup.service | ||
systemctl preset system-metrics.service |