fork 0k-charms
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

[Unit]
Description=DevPi Server
After=network-online.target
Requires=network-online.target
[Service]
TimeoutStartSec=0
Type=forking
#PIDFile=/var/run/devpi-server.pid
Restart=always
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
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
#User=devpi
[Install]
WantedBy=multi-user.target