17 lines
550 B
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
|
|
|