[Unit] Description=Identity service ConditionPathExists=/home/guillaume/projects/id After=network.target [Service] Type=simple User=guillaume Group=guillaume Restart=on-failure RestartSec=10 StartLimitInterval=60 WorkingDirectory=/home/guillaume/projects/id ExecStart=/home/guillaume/projects/id/id -a 127.0.0.1:8080 postgres://auth_master@localhost/authdb?sslmode=disable horel.org [Install] WantedBy=multi-user.target