Billy Barrow 1 月之前
父節點
當前提交
3a97da42a2
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 0 2
      src/Application.vala
  2. 10 0
      webmify.service

+ 0 - 2
src/Application.vala

@@ -27,9 +27,7 @@ namespace Webmify {
             print(@"Dequeue \"$filename\"\n");
             var video_file = File.new_for_path(path);
             var video_info = new VideoInfo(video_file);
-            print("re\n");
             video_info.read_info();
-            print("red\n");
 
             var profiles = construct_profiles();
             var profile = profiles.first(p => p.suitable_for(video_info));

+ 10 - 0
webmify.service

@@ -0,0 +1,10 @@
+[Unit]
+Description=Webmify Transcoder
+After=multi-user.target
+
+[Service]
+ExecStart=/usr/bin/webmify in out work
+Type=simple
+
+[Install]
+WantedBy=multi-user.target