ansible.flexlm/templates/etc/systemd/system/flexlm.service.j2

17 lines
452 B
Plaintext
Raw Normal View History

2018-02-23 15:56:31 +01:00
# {{ ansible_managed }}
[Unit]
Description={{ item.description | d("flexlm Licence Manager for " + item.name) }}
2018-02-23 15:56:31 +01:00
After=network.target
[Service]
Type=simple
User={{ flexlm__user_name }}
WorkingDirectory={{ item.bin_path | d("/opt/" + item.name + "/bin") }}
ExecStart={{ flexlm__lmgrd_path }} -z -c {{ item.lic_path | d("/opt/" + item.name + "/etc/licence.lic") }}
2018-02-23 15:56:31 +01:00
SuccessExitStatus=15
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target