mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
rpc_shutdown: Collection of small improvements (#912)
* rpc_shutdown: Prettier YAML files * rpc_shutdown: Move run.sh to data folder * rpc_shutdown: Documentation tweaks * rpc_shutdown: Update add-on URL & Description
This commit is contained in:
committed by
Pascal Vizeli
parent
6ce3006a72
commit
3d5ed25a2d
@@ -15,4 +15,5 @@
|
|||||||
- New option to send a message to the PC that is about to be shut down. If somebody is using the PC, you can warn them to save their work.
|
- New option to send a message to the PC that is about to be shut down. If somebody is using the PC, you can warn them to save their work.
|
||||||
|
|
||||||
## 1.0
|
## 1.0
|
||||||
|
|
||||||
- Update samba 4.8.8
|
- Update samba 4.8.8
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ ENV LANG C.UTF-8
|
|||||||
RUN apk add --no-cache samba-common-tools samba-common
|
RUN apk add --no-cache samba-common-tools samba-common
|
||||||
|
|
||||||
# Copy data
|
# Copy data
|
||||||
COPY run.sh /
|
COPY data/run.sh /
|
||||||
|
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Hass.io Core Add-on: RPC Shutdown
|
# Hass.io Core Add-on: RPC Shutdown
|
||||||
|
|
||||||
Simple way for remote windows shutdown.
|
Shutdown Windows machines remotely.
|
||||||
|
|
||||||
![Supports aarch64 Architecture][aarch64-shield] ![Supports amd64 Architecture][amd64-shield] ![Supports armhf Architecture][armhf-shield] ![Supports armv7 Architecture][armv7-shield] ![Supports i386 Architecture][i386-shield]
|
![Supports aarch64 Architecture][aarch64-shield] ![Supports amd64 Architecture][amd64-shield] ![Supports armhf Architecture][armhf-shield] ![Supports armv7 Architecture][armv7-shield] ![Supports i386 Architecture][i386-shield]
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ Allows you to shut down and Windows Computer with a service call from Home Assis
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The installation of this add-on is straightforward and easy to do.
|
Follow these steps to get the add-on installed on your system:
|
||||||
|
|
||||||
1. Navigate in your Home Assistant frontend to **Hass.io** -> **Add-on Store**.
|
1. Navigate in your Home Assistant frontend to **Hass.io** -> **Add-on Store**.
|
||||||
2. Find the "RPC Shutdown" add-on and click it.
|
2. Find the "RPC Shutdown" add-on and click it.
|
||||||
@@ -84,12 +84,11 @@ data:
|
|||||||
input: test-pc
|
input: test-pc
|
||||||
```
|
```
|
||||||
|
|
||||||
- `service: hassio.addon_stdin`:
|
Each line explained:
|
||||||
Use hassio.addon_stdin service to send data over STDIN to an add-on.
|
|
||||||
- `data.addon: core_rpc_shutdown`:
|
`service: hassio.addon_stdin`: Use hassio.addon_stdin service to send data over STDIN to an add-on.
|
||||||
Tells the service to send the command to this add-on.
|
`data.addon: core_rpc_shutdown`: Tells the service to send the command to this add-on.
|
||||||
- `data.input: test-pc`:
|
`data.input: test-pc`: Alias name created for the computer in the add-on configuration, and shuts that one down.
|
||||||
Alias name created for the computer in the add-on configuration, and shuts that one down.
|
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
|||||||
@@ -3,20 +3,19 @@
|
|||||||
trigger:
|
trigger:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
include:
|
include:
|
||||||
- rpc_shutdown/*
|
- rpc_shutdown/*
|
||||||
pr: none
|
pr: none
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- name: versionBuilder
|
- name: versionBuilder
|
||||||
value: '2.0'
|
value: "2.0"
|
||||||
- group: docker
|
- group: docker
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: /.azure/azp-template-addon.yml
|
- template: /.azure/azp-template-addon.yml
|
||||||
parameters:
|
parameters:
|
||||||
addon: 'rpc_shutdown'
|
addon: "rpc_shutdown"
|
||||||
arch: '--all'
|
arch: "--all"
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
"name": "RPC Shutdown",
|
"name": "RPC Shutdown",
|
||||||
"version": "2.2",
|
"version": "2.2",
|
||||||
"slug": "rpc_shutdown",
|
"slug": "rpc_shutdown",
|
||||||
"description": "Simple way for remote windows shutdowns",
|
"description": "Shutdown Windows machines remotely",
|
||||||
"url": "https://home-assistant.io/addons/rpc_shutdown/",
|
"url": "https://github.com/home-assistant/hassio-addons/tree/master/rpc_shutdown",
|
||||||
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
||||||
"startup": "services",
|
"startup": "services",
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
|
|||||||
Reference in New Issue
Block a user