Index: modules/adblockplus/templates/mimeo.service.erb |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/modules/adblockplus/templates/mimeo.service.erb |
@@ -0,0 +1,9 @@ |
+[Unit] |
+Description=Service that handles formating and parsing of logs |
+ |
+[Service] |
+ExecStart=/usr/bin/python3 /opt/mimeo/mimeo.py '--response=<%= @response.to_s.to_json %>' '--format=<%= @format %>' '--port=<%= @port%>' <%= @log_file %> |
+ |
+[Install] |
+WantedBy=multi-user.target |
+ |