summarylogtreecommitdiffstats
path: root/pgweb.service
blob: 2135c1e6c6b12b1890927a40a9ac35d083048842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Web client (GUI) for PostgreSQL databases
After=syslog.target network.target

[Service]
Type=simple
EnvironmentFile=/etc/conf.d/pgweb
ExecStart=/usr/bin/pgweb $PGWEB_OPTIONS
Restart=on-abort
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ReadOnlyPaths=/

[Install]
WantedBy=multi-user.target