=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== iliv_ is now known as iliv | ||
riccardo | Hello | 10:43 |
---|---|---|
riccardo | I keep getting this Run configure hook of "core" snap if present | 10:43 |
riccardo | It is an infinite wating | 10:43 |
qengho | riccardo: I think that bug is known and should be fixed, already or soon. | 11:55 |
chani | hello guys i am having trouble figuring out how to add my custom script to a snap | 12:08 |
chani | can anyone help please? | 12:08 |
chani | basically i want to build a webserver snap which will update the website at regular intervals by pulling the website source code from github | 12:10 |
chani | so i have added git and apache2 to my part with plugin as nil | 12:12 |
chani | now i want to write a shell script which does the git pull and some other sub routins at regular intervals | 12:13 |
chani | so where do i write the script and include it | 12:14 |
ogra_ | just put it somewhere next to the snapcraft.yaml and use the dump plugin to put it in place | 12:25 |
ogra_ | chani, https://github.com/snapcore/snapcraft/blob/master/demos/webcam-webui/snap/snapcraft.yaml ... look at the glue part at the bottom (and indeed the apps section) | 12:28 |
ogra_ | that copies the webcam-webui script from the toplevel source tree dir to bin/webcam-webui inside the snap package | 12:29 |
ogra_ | (and runs it as a daemon script as defined in the apps section) | 12:30 |
chani | thanks a lot guys | 12:30 |
chani | *ogra | 12:31 |
ogra_ | :) | 12:31 |
=== torusJKL1 is now known as torusJKL | ||
=== JanC is now known as Guest25494 | ||
=== JanC_ is now known as JanC | ||
=== rvr_ is now known as rvr |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!