A last.fm clone written in Elixir
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.

15 lines
356 B

  1. [Unit]
  2. Description=DAGON.fm
  3. [Service]
  4. Type=forking
  5. User=dagon
  6. Group=dagon
  7. Restart=on-failure
  8. EnvironmentFile=/home/dagon/.env
  9. WorkingDirectory=/home/dagon/dagon/_build/prod/rel/dagon/bin
  10. ExecStart=/home/dagon/dagon/_build/prod/rel/dagon/bin/dagon start
  11. ExecStop=/home/dagon/dagon/_build/prod/rel/dagon/bin/dagon stop
  12. [Install]
  13. WantedBy=multi-user.target