ffmpeg-api/ffmpeg-api.service

18 lines
414 B
Desktop File

[Unit]
Description=ffmpeg-api is the web-based media extraction and conversion API with FFmpeg
Documentation=https://github.com/gnh1201/ffmpeg-api
After=network.target
[Service]
Type=simple
User=ffmpegapi
Group=ffmpegapi
Environment="KEEP_ALL_FILES=false"
Environment="LOG_LEVEL=debug"
WorkingDirectory=/home/ffmpegapi
ExecStart=/usr/local/bin/node app.js
Restart=on-failure
[Install]
WantedBy=multi-user.target