Page MenuHomeDevCentral

D1069.diff
No OneTemporary

D1069.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
Fri, Dec 20, 14:37 (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308175
Default Alt Text
D1069.diff (1 KB)

Event Timeline