aboutsummaryrefslogtreecommitdiffstats
path: root/roles/rc/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-21 16:25:08 +0100
committerbinary <me@rgoncalves.se>2020-11-21 16:25:08 +0100
commitaab7c2168fba94a0b5ffbd997a8d6e4dea6361ce (patch)
treed688c47413479be5d0e19f36cbb2d2fbc2f0a8f6 /roles/rc/templates
parent4306686384cdcd1afa6ecf85c4e1df3465f54319 (diff)
downloadinfrastructure-aab7c2168fba94a0b5ffbd997a8d6e4dea6361ce.tar.gz
Start in daemon mode and fix user privileges.
Diffstat (limited to 'roles/rc/templates')
-rw-r--r--roles/rc/templates/rc_alpine.j29
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/rc/templates/rc_alpine.j2 b/roles/rc/templates/rc_alpine.j2
index 217cd05..5720f2e 100644
--- a/roles/rc/templates/rc_alpine.j2
+++ b/roles/rc/templates/rc_alpine.j2
@@ -2,6 +2,13 @@
#
# managed by Ansible
+supervisor="supervise-daemon"
+
+description="{{ rc_name }} {{ rc_description }}"
+description_reload="Reload {{ rc_name }}"
+
command="{{ rc_cmd }}"
command_args="{{ rc_args }}"
-user="{{ rc_user }}"
+command_user="{{ rc_user }}"
+
+directory="{{ rc_dir }}"
remember that computers suck.