| 1 |
# To use this template service file, you would do something like |
| 2 |
# systemctl start [email protected] |
| 3 |
# This file should end up in /usr/lib/systemd/system during installation |
| 4 |
# Docs: http://0pointer.de/blog/projects/instances.html |
| 5 |
|
| 6 |
[Unit] |
| 7 |
Description=SystemTap stapsh on %I |
| 8 |
Documentation=man:stap man:stapsh |
| 9 |
BindsTo=dev-virtio\x2dports-%i.device |
| 10 |
After=dev-virtio\x2dports-%i.device |
| 11 |
|
| 12 |
[Service] |
| 13 |
ExecStart=@bindir@/stapsh -l /dev/virtio-ports/%I |
| 14 |
Restart=always |
| 15 |
RestartSec=0 |
| 16 |
|