Create ffmpegapi.service
This commit is contained in:
parent
eb56abde0a
commit
21fce34275
15
ffmpegapi.service
Normal file
15
ffmpegapi.service
Normal 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
|
Loading…
Reference in New Issue
Block a user