scripts_bash_linux_audiovisuel
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
scripts_bash_linux_audiovisuel [2019/02/28 12:02] – Benjamin Labomedia | scripts_bash_linux_audiovisuel [2019/03/29 00:43] – [Sonification serveur] Benjamin Labomedia | ||
---|---|---|---|
Ligne 314: | Ligne 314: | ||
Labomedia' | Labomedia' | ||
+ | |||
+ | Variante Rasberry Pi avec Pick up | ||
+ | sudo apt install puredata pd-pdogg pd-ext13 pd-zexy pd-iemlib pd-ggee | ||
+ | sudo pd -nogui -listdev | ||
+ | sudo pd -nogui -audiodev 3 pnodelocalenetsonification-withoutpwd.pd | ||
+ | |||
+ | Le patch v2 {{ :: | ||
+ | |||
To launch the patch at the server start-up with systemctl | To launch the patch at the server start-up with systemctl | ||
Ligne 323: | Ligne 331: | ||
[Unit] | [Unit] | ||
Description=Omnious Sonification Service | Description=Omnious Sonification Service | ||
- | \\ | + | |
[Service] | [Service] | ||
ExecStart=/ | ExecStart=/ | ||
StandardOutput=null | StandardOutput=null | ||
- | \\ | + | |
ExecStop=/ | ExecStop=/ | ||
- | \\ | + | |
[Install] | [Install] | ||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
Ligne 339: | Ligne 347: | ||
sudo puredata -nogui / | sudo puredata -nogui / | ||
exit 0 | exit 0 | ||
+ | |||
+ | Une variante sans script : | ||
+ | |||
+ | [Unit] | ||
+ | Description=Server Sonification net activity | ||
+ | | ||
+ | [Service] | ||
+ | Type=simple | ||
+ | ExecStart=/ | ||
+ | StandardOutput=null | ||
+ | Restart=on-failure | ||
+ | | ||
+ | # Configures the time to wait before service is stopped forcefully. | ||
+ | TimeoutStopSec=30 | ||
+ | | ||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | Alias=serversonification.service | ||
+ | |||
+ | |||
commande magique pour prise en compte des modifs a posteriori dans le .service ? | commande magique pour prise en compte des modifs a posteriori dans le .service ? |
scripts_bash_linux_audiovisuel.txt · Dernière modification : 2022/04/13 22:42 de Benjamin Labomedia