forked from bitlair/ansible
photos: More Ansible config for the gallery service
This commit is contained in:
parent
d1f171abf0
commit
893c8133f5
7 changed files with 33 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# Managed by Ansible
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[Unit]
|
||||
Description=Gallery service
|
||||
|
@ -7,7 +7,7 @@ After=network.target
|
|||
[Service]
|
||||
ExecStart=/usr/bin/node /opt/photo-gallery/server.js
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue