Page MenuHomeDevCentral

D1069.id2876.diff
No OneTemporary

D1069.id2876.diff

diff --git a/roles/shellserver/odderon/config.sls b/roles/shellserver/odderon/config.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/odderon/config.sls
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------
+# Salt — Deploy Odderon unit (darkbot)
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-10-19
+# Description: Darkbot unit (Freenode)
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# File permissions and ownership
+# -------------------------------------------------------------
+
+odderon_fix_permissions_and_ownership:
+ cmd.run:
+ - names:
+ - chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db
+ - chmod 640 /opt/odderon/var/darkbot/userlist.db
diff --git a/roles/shellserver/odderon/init.sls b/roles/shellserver/odderon/init.sls
--- a/roles/shellserver/odderon/init.sls
+++ b/roles/shellserver/odderon/init.sls
@@ -9,4 +9,5 @@
include:
- .account
- .code
+ - .config
- .service

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 11:29 (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249295
Default Alt Text
D1069.id2876.diff (1 KB)

Event Timeline