|
|
@ -222,14 +222,13 @@ After=syslog.target network.target
|
|
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
[Service]
|
|
|
|
|
|
|
|
|
|
|
|
User=smallstep
|
|
|
|
User=step
|
|
|
|
Group=smallstep
|
|
|
|
Group=step
|
|
|
|
ExecStart=/bin/sh -c '/bin/step-ca /home/smallstep/.step/config/ca.json --password-file=/home/smallstep/.step/pwd >> /var/log/smallstep/output.log 2>&1'
|
|
|
|
ExecStart=/bin/sh -c '/bin/step-ca /home/step/.step/config/ca.json --password-file=/home/step/.step/pwd >> /var/log/step-ca/output.log 2>&1'
|
|
|
|
Type=simple
|
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=10
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
```
|
|
|
|
```
|
|
|
@ -243,7 +242,7 @@ $ systemctl status step-ca
|
|
|
|
# Configure the `step-ca` process to startup on reboot automatically
|
|
|
|
# Configure the `step-ca` process to startup on reboot automatically
|
|
|
|
$ systemctl enable step-ca
|
|
|
|
$ systemctl enable step-ca
|
|
|
|
# Start the `step-ca` service.
|
|
|
|
# Start the `step-ca` service.
|
|
|
|
$ systemctl start smallstep
|
|
|
|
$ systemctl start step-ca
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Configure Your Environment
|
|
|
|
## Configure Your Environment
|
|
|
|