Browse Source

add stop cmd

main
Felix Kronlage-Dammers 3 months ago
parent
commit
55b34de12c
  1. 1
      templates/nprobe_probe.service.j2

1
templates/nprobe_probe.service.j2

@ -10,6 +10,7 @@ RestartSec=1
User=root
Environment="NPROBE_SECRET={{ nprobe_secret }}"
ExecStart=/opt/nprobe/sbin/nprobe --head {{ head_node }} --name {{ probe_name }} --privileged{% if nprobe_debig is defined and nprobe_debug is sameas true %} --debug{% endif %}
ExecStop=kill -15 $MAINPID
[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save