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

17 lines
363 B
Plaintext
Raw Normal View History

2018-02-23 15:56:31 +01:00
# {{ ansible_managed }}
[Unit]
Description={{ flexlm__service_description }}
After=network.target
[Service]
Type=simple
User={{ flexlm__user_name }}
2018-02-23 15:56:31 +01:00
WorkingDirectory={{ flexlm__service_working_directory }}
ExecStart={{ flexlm__lmgrd_path }} -z -c {{ flexlm__licence_file }}
2018-02-23 15:56:31 +01:00
SuccessExitStatus=15
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target