You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
403 B

[Unit]
Description=nprobe probe service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
Environment="NPROBE_SECRET={{ nprobe_secret }}"
ExecStart=/opt/nprobe/sbin/nprobe --head {{ head_node }} --name {{ probe_name }} --privileged{% if defined nprobe_debug and nprobe_debug sameas true %} --debug{% endif %}
[Install]
WantedBy=multi-user.target