summarylogtreecommitdiffstats
path: root/p4d.service
blob: de69384f439b19e2ff0601741d23d19459be1ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Perforce Server
Requires=network.target local-fs.target
After=network.target local-fs.target

[Service]
Type=forking
User=perforce
EnvironmentFile=-/etc/p4d.conf
ExecStart=/usr/bin/p4d -d
ExecStop=/usr/bin/killall p4d
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target