Add role for services
This commit is contained in:
parent
1191dd2534
commit
cdc9f519f0
9 changed files with 171 additions and 0 deletions
15
roles/services/templates/spacestated.service
Normal file
15
roles/services/templates/spacestated.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Managed by Ansible
|
||||
|
||||
[Unit]
|
||||
Description=Bitlair Spacestate
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=2s
|
||||
ExecStart=/var/lib/spacestated/spacestated/spacestated
|
||||
User=spacestated
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue