Files
sysadmin/systemd/pandoc-as-a-service.service

16 lines
611 B
Desktop File

[Unit]
Description=pandoc-as-a-service - If you need to convert text from one markup format into another, pandoc-as-a-service is your swiss-army knife.
Documentation=https://github.com/mrded/pandoc-as-a-service
After=network.target
[Service]
Environment="PORT=3001" "PATH=/home/renato/.cabal/bin:/home/renato/.local/bin:/home/renato/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin/:/usr/sbin:/usr/bin:/sbin:/bin:"
Type=simple
User=renato
WorkingDirectory=/home/renato/WebApp/pandoc-as-a-service/
ExecStart=/usr/bin/node index.js $PORT
Restart=on-failure
[Install]
WantedBy=multi-user.target