Is @RSH still around?
Yes I am a trusting person..maybe optimistic....I can always delete if I have to..but that is the easy way out.....I believe in Karma and am willing to take a chance.
Zoneminder has different components: web server , mysql, php , perl and the problem is what should be in the SFS? I have created a PET that has an installation script that runs that sets permissions and creates the mysql database structure and correct user and import of the sql file.
The SFS does not run a script upon install. The Flatpak approach is more like the PET package of ZoneMinder in away that the entire LAMP can added to the app. The entire point is to make an easy way to install ZM on Puppy Linux variants.
Zoneminder has different components: web server , mysql, php , perl and the problem is what should be in the SFS? I have created a PET that has an installation script that runs that sets permissions and creates the mysql database structure and correct user and import of the sql file.
The SFS does not run a script upon install. The Flatpak approach is more like the PET package of ZoneMinder in away that the entire LAMP can added to the app. The entire point is to make an easy way to install ZM on Puppy Linux variants.
Yes it does.rockedge wrote:The SFS does not run a script upon install
For normal puppy, create any script in /root/Startup folder in the sfs.
The script will run when sfs is loaded.
Unfortunately no way (atleast I don't know any way, someone please enlighten me) to run a script at sfs unload, if you wanna cleanup after...
Fatdog's sfs handler can run scripts on 4 type of events,
load/unload (when sfs is loaded/unloaded manually by user),
and system load/unload (when sfs is loaded/unloaded by system on startup/shutdown).
I have tested this when I made google chrome, opera sfs, which will provide icon on desktop when loaded, and remove the icon on unload.
Edit: It was Lazypuppy aka RSH himself who helped me with the script run when sfs is loaded.
See, http://murga-linux.com/puppy/viewtopic.php?t=97046
That neerajkolte on that thread is me.... when not drunk...
Last edited by drunkjedi on Thu 03 May 2018, 11:52, edited 1 time in total.
that is good to know! that does open a door...but the SFS removal still poses a small problem. I have successfully built a zoneminder sfs that would require an existing LAMP, LHMP or LNMP (I never tried Cherokee) to function but the removal of the SFS would be messy. The PET version works great but is huge at 263 megs and uses the existing users in Puppy Linux webuser:webgroup and adds a user "mysql" plus upgrades the existing Hiawatha from version 6 to version 10. Removal of the PET leaves all kinds of mess but I fiquired if one is installing zoneminder they mean to keep it and deleting the save file/folder is easier to start fresh.Yes it does.
For normal puppy, create any script in /root/Startup folder in the sfs.
The script will run when sfs is loaded.
Setting up zoneminder this way lets the existing Hiawatha - pup_pplog.pl (personal blog) still function as expected.
Still that I can get a install script to run automatically by placing it in the SFS's Startup directory is some really good information.
You could try load_sfs script from Fatdog.
And make cleanup script to be run when sfs is unloaded.
Attaching latest sfs_load script from Fatog721. Remove the fake gz extension.
Hope this help.
And make cleanup script to be run when sfs is unloaded.
Attaching latest sfs_load script from Fatog721. Remove the fake gz extension.
Hope this help.
- Attachments
-
- load_sfs.sh.gz
- Remove the fake .gz extension.
- (11.89 KiB) Downloaded 138 times
- nosystemdthanks
- Posts: 703
- Joined: Thu 03 May 2018, 16:13
- Contact:
its refreshing to hear someone admit that happens.Mike Walsh wrote:One or two individuals kinda went out of their way to pick holes in literally everything he said...
so true.Most of us'll only put up with so much of that sort of thing.....
then there are those like rokytnji who are both immune and really try to be fair to everybody. if you are immune its a lot easier to be fair. hi ally, hi pete. i will go post the thing i came here to post. mike: truer words are rarely spoken.
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
@ DJ:-
He's definitely one of the 'good guys'.
Mike.
AFAIK, his forum a/c is still 'live'.....but Roky spends most of his time (when he is online these days) over at LinuxQuestions.org. He's just as neutral & fair-minded there as he ever was here, and will try to help anybody.drunkjedi wrote:That reminds me haven't seen Rocky in long time either.
He's definitely one of the 'good guys'.
Mike.
Wow @RSH, @LazY, @ITSMERSH , really nice to hear and see your not lost to the community . In another thread I have resolved my imediate issues/itches by adding extrasfs to my boot parameters.ITSMERSH wrote:I can offer what ever is needed, though let me know a bit more of the picture of what and how you want to do this e.g. automatically downloading / mounting / launch.uten wrote:I'm particularly interested in his methods and scripts for applications by associate them with sfs's and automatically downloading / mounting / launch.
RSH
I have had another look at T.O.P.L.E.S.S, and I will try to get some more time with it during the weekend.
As a sidenote: I WILL NOT CHANGE MY PASSWORD ON THIS SITE *lol*
tc
Uten