enabling both service and timer
This commit is contained in:
@@ -182,5 +182,5 @@ install_unit ${SERVICE_TEMPLATE_URL}
|
|||||||
install_unit ${TIMER_TEMPLATE_URL}
|
install_unit ${TIMER_TEMPLATE_URL}
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable --now "$(basename "${TIMER_TEMPLATE_URL}")"
|
systemctl enable --now "${TIMER_FILE}" "${SERVICE_FILE}"
|
||||||
systemctl list-unit-files $SERVICE_FILE $TIMER_FILE
|
systemctl list-unit-files $SERVICE_FILE $TIMER_FILE
|
||||||
|
|||||||
Reference in New Issue
Block a user