Create ffmpegapi.service

This commit is contained in:
Namhyeon Go 2024-05-10 19:04:42 +09:00 committed by GitHub
parent eb56abde0a
commit 21fce34275
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
ffmpegapi.service Normal file
View File

@ -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