Self-hosted files and url shortener.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
442 B

  1. # Please customize values i.e. paths, user, group, WorkingDirectory based on your environment. Do not use the same
  2. # user and group for different applications.
  3. [Unit]
  4. Description=ily.li website
  5. After=network-online.target
  6. Wants=network-online.target
  7. [Service]
  8. Type=simple
  9. User=ilyli
  10. Group=ilyli
  11. WorkingDirectory=/home/ilyli/live
  12. Restart=on-success
  13. Environment=NODE_ENV=production
  14. ExecStart=/bin/node .
  15. [Install]
  16. WantedBy=multi-user.target