init olm role
This commit is contained in:
12
ansible/roles/olm/tasks/templates/olm.service.j2
Normal file
12
ansible/roles/olm/tasks/templates/olm.service.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Olm
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/olm
|
||||
Restart=always
|
||||
User=root
|
||||
Environment="CONFIG_FILE={{ olm_config_path }}/config.json"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user