aboutsummaryrefslogtreecommitdiff
path: root/sliver-c2/tasks/sliver_systemd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'sliver-c2/tasks/sliver_systemd.yaml')
-rw-r--r--sliver-c2/tasks/sliver_systemd.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/sliver-c2/tasks/sliver_systemd.yaml b/sliver-c2/tasks/sliver_systemd.yaml
new file mode 100644
index 0000000..3b29f0f
--- /dev/null
+++ b/sliver-c2/tasks/sliver_systemd.yaml
@@ -0,0 +1,10 @@
+- name: copy sliver systemd service template
+ template:
+ src: sliver.service.j2
+ dest: /etc/systemd/system/sliver.service
+ owner: root
+ group: root
+ mode: '0600'
+ notify:
+ - reload systemd
+ - sliver systemd handler