- Create the unit file in
systemdby executing the following command:sudo touch /etc/systemd/system/jamf.pki.proxy.service - Open the file by executing the following command:
sudo vi /etc/systemd/system/jamf.pki.proxy.service - Paste the following:
[Unit] Description=Jamf Pro PKI Proxy After=network.target [Service] Type=simple ExecStart=/usr/local/bin/jamf-pki-proxy start StandardOutput=journal StandardError=journal UMask= 0007 RestartSec= 10 Restart=on-failure User=jamfpkiproxy Group=jamfpkiproxy [Install] WantedBy=multi-user.target - Reload
systemdby executing the following command:sudo systemctl daemon-reload - Check the status to make sure the
systemdloaded successfully by executing the following command:sudo systemctl status jamf.pki.proxyThe output should look similar to the following:jamf.pki.proxy.service - Jamf Pro PKI ProxyLoaded: loaded (/etc/systemd/system/jamf.pki.proxy.service; disabled; vendor preset: enabled)Active: inactive (dead) - If you would like the service to start automatically when the host boots, execute the following command:
sudo systemctl enable jamf.pki.proxy - If you would like to stop the service from starting automatically when the host boots, execute the following command:
sudo systemctl disable jamf.pki.proxy - Start the
jamf.pki.proxy.serviceby executing the following command:sudo systemctl start jamf.pki.proxy - To stop the service, execute the following command:
sudo systemctl stop jamf.pki.proxy