youtube-maze/files/youtube-maze.service

26 lines
492 B
SYSTEMD
Raw Permalink Normal View History

2020-11-29 01:06:21 +00:00
[Unit]
2020-11-29 01:17:15 +00:00
Description=youtube-maze - Explore mazes of YouTube videos
2020-11-29 01:06:21 +00:00
Documentation=https://forge.delab.re/matteo/youtube-maze
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/node /home/admins/youtube-maze/bin/www.mjs
WorkingDirectory=/home/admins/youtube-maze
User=nobody
Group=nogroup
Environment=PORT=8000
Environment=NODE_ENV=production
LimitNOFILE=infinity
StandardInput=null
StandardOutput=syslog
StandardError=syslog
Restart=always
[Install]
WantedBy=multi-user.target