Commit 8d1a3c30 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

set context to allow systemd script to run

parent e388a1c5
......@@ -2,11 +2,18 @@
src: "handle-server.service.j2"
dest: "/etc/systemd/system/handle-server.service"
- name: "allow selinux context for systemd for start-handle-server script"
path: "{{ build_dir }}/bin/start-handle-server"
serole: "system_r"
setype: "init_t"
seuser: "system_u"
owner: "root"
- name: "enable and start handle service"
name: "handle-server"
daemon_reload: "yes"
enabled: true
state: "started"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment