diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2019-01-02 04:26:45 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2019-01-02 04:27:04 -0500 |
| commit | 58732b6dc67f97ee895aacef3a30ac2f232a01c2 (patch) | |
| tree | b716d137445f4756e009304559e9a07b5e3b682d /id.service | |
| parent | 4d7a399794403399b8e5d10e504562ef79c986a6 (diff) | |
| download | id-58732b6dc67f97ee895aacef3a30ac2f232a01c2.tar.gz | |
add basic service file
Diffstat (limited to 'id.service')
| -rw-r--r-- | id.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/id.service b/id.service new file mode 100644 index 0000000..25852da --- /dev/null +++ b/id.service @@ -0,0 +1,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 |
