diff options
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/event-handler/systemd_event_handler_service.j2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/templates/event-handler/systemd_event_handler_service.j2 b/data/templates/event-handler/systemd_event_handler_service.j2 new file mode 100644 index 000000000..da35a51c4 --- /dev/null +++ b/data/templates/event-handler/systemd_event_handler_service.j2 @@ -0,0 +1,11 @@ +[Unit] +Description=Event handler +After=network.target + +[Service] +Type=simple +Restart=always +ExecStart=/usr/bin/python3 /usr/libexec/vyos/vyos-event-handler.py --config /run/vyos-event-handler.conf + +[Install] +WantedBy=multi-user.target |