Current section

Files

Jump to
mix_systemd priv templates restart.service.eex
Raw

priv/templates/restart.service.eex

[Unit]
Description=<%= service_name %> restarter
After=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl restart <%= service_name %>.service
[Install]
WantedBy=multi-user.target