[Unit] Description=Smallstep Certificate Authority Documentation=https://smallstep.com/docs/step-ca After=network.target [Service] Type=simple User=chris_christiansen Group=chris_christiansen Restart=on-failure RestartSec=5 # The STEPPATH environment variable defines the root directory for step-ca files. Environment="STEPPATH=/home/chris_christiansen/.step" # The ExecStart command runs the CA. # It points to the configuration file and the password file created during init. ExecStart=/usr/bin/step-ca /home/chris_christiansen/.step/config/ca.json --password-file /home/chris_christiansen/OSVauco/tyr/certs/ca_password.txt WorkingDirectory=/home/chris_christiansen/.step [Install] WantedBy=multi-user.target