Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-29 11:34:26 +0000
committerGitHub <noreply@github.com>2021-04-29 11:34:26 +0000
commit6b2ea318f3d26cd072f7aa2bc14ac06383dbfaef (patch)
treec49bbf7c95f61fdd815024a2251861833c4f2253 /profiles
parentf7cb4c8fb9b5fbb8789ba988d77d2a58a70634c1 (diff)
parenteb2174eef92208da9b3e5ea80df54e216b68313b (diff)
Merge pull request #385 from dylanmtaylor/patch-4
Add nginx application profile
Diffstat (limited to 'profiles')
-rw-r--r--profiles/applications/nginx.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/applications/nginx.py b/profiles/applications/nginx.py
new file mode 100644
index 00000000..50eb0506
--- /dev/null
+++ b/profiles/applications/nginx.py
@@ -0,0 +1,9 @@
+import archinstall
+
+# Define the package list in order for lib to source
+# which packages will be installed by this profile
+__packages__ = ["nginx"]
+
+installation.add_additional_packages(__packages__)
+
+installation.enable_service('nginx')