diff --git a/ffmpegapi.service b/ffmpegapi.service new file mode 100644 index 0000000..5734941 --- /dev/null +++ b/ffmpegapi.service @@ -0,0 +1,15 @@ +[Unit] +Description=The web-based media extraction and conversion tool powered by FFmpeg +Documentation=https://github.com/gnh1201/ffmpeg-api +After=network.target + +[Service] +Type=simple +User=ffmpegapi +Group=ffmpegapi +WorkingDirectory=/home/ffmpegapi +ExecStart=/usr/local/bin/node app.js +Restart=on-failure + +[Install] +WantedBy=multi-user.target