[Unit]
Description=P4Web Server Instance __INSTANCE__.
Documentation=https://workshop.perforce.com/view/p4-sdp/main/doc/SDP_Guide.Unix.html
Requires=network.target
After=network.target

[Service]
Type=simple
ExecStart=/p4/__INSTANCE__/bin/p4web___INSTANCE___init start
ExecStop=/p4/__INSTANCE__/bin/p4web___INSTANCE___init stop
Environment=OS_INIT_MECHANISM=systemd
User=__OSUSER__

[Install]
WantedBy=multi-user.target
