aboutsummaryrefslogtreecommitdiffstats
path: root/id.service
blob: 25852daf5257e923d0637de1441ed26d227c4bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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