diff options
author | vlad | 2015-07-08 15:42:04 +0300 |
---|---|---|
committer | vlad | 2015-07-08 15:42:04 +0300 |
commit | 78eb6cbe4788691ac2c11e22000000fe81bb1a2b (patch) | |
tree | 01881748b18038a913defce26699cf11406da466 /p4d.service | |
download | aur-78eb6cbe4788691ac2c11e22000000fe81bb1a2b.tar.gz |
Initial import
Diffstat (limited to 'p4d.service')
-rw-r--r-- | p4d.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/p4d.service b/p4d.service new file mode 100644 index 000000000000..de69384f439b --- /dev/null +++ b/p4d.service @@ -0,0 +1,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 |