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