Create pgweb.service

Add service file for Linux systemd
This commit is contained in:
Jan Schwarzrock
2016-09-04 11:19:22 +02:00
committed by GitHub
parent 12dcc45e88
commit f0406cac8e

11
pgweb.service Normal file
View File

@@ -0,0 +1,11 @@
[Unit]
Description=pgweb - Cross-platform client for PostgreSQL databases
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/pgweb --bind=0.0.0.0 --listen=8081
Restart=on-abort
[Install]
WantedBy=multi-user.target