Files
mx_bec/deployment/systemd/mx-bec-service-restart.service

8 lines
227 B
Desktop File

[Unit]
Description=Restart the MX BEC service after a new deployment
[Service]
Type=oneshot
# try-restart: leave the service stopped if it was stopped on purpose
ExecStart=/usr/bin/systemctl try-restart mx-bec-service.service