.serviceファイルで「.service: Failed to determine user credentials: No such process」というエラーが発生したので、その時の解決法を記します。
エラー内容
Failed to determine user credentials: No such process
Failed at step USER spawning xx: No such process
解決法
ググると原因はユーザーが間違っているためということが分かりました。
間違ったユーザー
.service
User=username
rootに変更
.service
User=root
これでエラーがなくなりました。