services: Add flipdot
This commit is contained in:
parent
cdc9f519f0
commit
2d22a6e769
7 changed files with 84 additions and 0 deletions
16
roles/services/templates/flipdot.service
Normal file
16
roles/services/templates/flipdot.service
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Managed by Ansible
|
||||
|
||||
[Unit]
|
||||
Description=Big flipdot display
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/flipdot-time.sh
|
||||
ExecStopPost=/usr/local/bin/flipdot-reboot.sh
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
DynamicUser=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue