Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793933
service.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
service.sls
View Options
# -------------------------------------------------------------
# Salt — Deploy Odderon unit (darkbot)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-01-25
# Description: Darkbot unit (Freenode)
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
services
with context
%}
# -------------------------------------------------------------
# Unit configuration
# -------------------------------------------------------------
{%
if
services
[
'manager'
]
==
'systemd'
%}
odderon_unit
:
file.managed
:
-
name
:
/etc/systemd/system/odderon.service
-
source
:
salt://roles/shellserver/odderon/files/odderon.service
-
mode
:
0644
module.run
:
-
service.force_reload
:
-
name
:
odderon
-
onchanges
:
-
file
:
odderon_unit
odderon_running
:
service.running
:
-
name
:
odderon
-
enable
:
true
-
watch
:
-
module
:
odderon_unit
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 22:47 (23 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2436723
Default Alt Text
service.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment