Fix service user name
In `ExecStart` the user used us `smallstep` so the same user should be defined in `useradd`.
This commit is contained in:
parent
4150ded4c1
commit
730639d2a3
1 changed files with 3 additions and 4 deletions
|
@ -222,14 +222,13 @@ After=syslog.target network.target
|
|||
|
||||
[Service]
|
||||
|
||||
User=smallstep
|
||||
Group=smallstep
|
||||
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'
|
||||
User=step
|
||||
Group=step
|
||||
ExecStart=/bin/sh -c '/bin/step-ca /home/step/.step/config/ca.json --password-file=/home/step/.step/pwd >> /var/log/smallstep/output.log 2>&1'
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue