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.

17 lines
550 B

  1. [Unit]
  2. Description=DevPi Server
  3. After=network-online.target
  4. Requires=network-online.target
  5. [Service]
  6. TimeoutStartSec=0
  7. Type=forking
  8. #PIDFile=/var/run/devpi-server.pid
  9. Restart=always
  10. ExecStart=/usr/local/bin/devpi-server --host 0.0.0.0 --port 3142 --serverdir=/var/lib/devpi-server --logger-cfg=/etc/devpi-server/devpi-server-log.yml --start
  11. ExecStop=/usr/local/bin/devpi-server --host 0.0.0.0 --port 3142 --serverdir=/var/lib/devpi-server --logger-cfg=/etc/devpi-server/devpi-server-log.yml --stop
  12. #User=devpi
  13. [Install]
  14. WantedBy=multi-user.target