Skip to content
Snippets Groups Projects
Commit 46379ae3 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

Adaptation to 66 0.8.0.0

parent 3cf801e9
No related branches found
Tags 0.8.0
No related merge requests found
......@@ -17,8 +17,8 @@ You can customize paths via flags given to configure. See `./configure --help` f
## Runtime dependencies
- execline version 2.9.4.0 or later: http://skarnet.org/software/execline/
- s6 version 2.12.0.3 or later: http://skarnet.org/software/s6/
- 66 version 0.7.0.0 or later https://git.obarun.org/Obarun/66/
- 66-tools version 0.1.0.1 or later https://git.obarun.org/Obarun/66-tools/
- execline version 2.9.6.1 or later: http://skarnet.org/software/execline/
- s6 version 2.13.1.0 or later: http://skarnet.org/software/s6/
- 66 version 0.8.0.0 or later: https://git.obarun.org/Obarun/66/
- 66-tools version 0.1.1.0 or later: https://git.obarun.org/Obarun/66-tools/
......@@ -84,7 +84,7 @@ fi
if [ "${NOTIFY}" != "yes" ]; then
66-yeller %rdisable%n notification
sed -i "s:%%notify%%::" "${svscan}" || die "unable to disable notification"
sed -i "s:@notify:#@notify:" "${svscan}" || die "unable to disable notification"
sed -i "s:Notify:#Notify:" "${svscan}" || die "unable to disable notification"
else
66-yeller %benable%n notification
sed -i "s:%%notify%%:-d3:" "${svscan}" || die "unable to enable notification"
......
[main]
@type = oneshot
@version = %%version%%
@description = "Set well-know variables for @I user"
@user = ( root )
[start]
@runas = @I
@execute =
[Main]
Type = oneshot
Version = %%version%%
Description = "Set well-know variables for @I user"
User = ( root )
[Start]
RunAs = @I
Execute =
(
execl-subuidgid
backtick -n HOME { homeof @I }
......
[main]
@type = classic
@version = %%version%%
@description = "Create and start a nested scandir for @I"
@user = ( root )
@depends = ( setenv@@I )
@notify = 3
@timeout-kill = 3000
@options = ( log )
[Main]
Type = classic
Version = %%version%%
Description = "Create and start a nested scandir for @I"
User = ( root )
Depends = ( setenv@@I )
Notify = 3
TimeoutStart = 3000
Options = ( log )
[start]
@runas = @I
@execute = (
[Start]
RunAs = @I
Execute = (
s6-setsid -qb --
umask 022
execl-cmdline -s { 66 ${Args66} scandir ${ArgsScandirStart} }
)
[stop]
@runas = @I
@execute = (
[Stop]
RunAs = @I
Execute = (
execl-cmdline -s { 66 ${Args66} scandir ${ArgsScandirStop} }
)
[environment]
[Environment]
Args66=!%%verbosity_level%% %%livedir%%
ArgsScandirStart=!start %%notify%% %%use_environment%%
ArgsScandirStop=!stop
[main]
@type = module
@version = %%VERSION%
@description = "Create a nested scandir for @I"
@user = ( root )
@intree = session
[regex]
@configure="@I"
@files = ( @M=@I )
@infiles = (
[Main]
Type = module
Version = %%VERSION%
Description = "Create a nested scandir for @I"
User = ( root )
InTree = session
[Regex]
@Configure="@I"
@Files = ( @M=@I )
@InFiles = (
::%%version%%=%%VERSION% )
[environment]
[Environment]
## Run the scandir at LIVE_DIRECTORY.
## Need to be an absolute path.
## If commented the default is %%LIVEDIR%%
......
package=scandir
version=0.4.3
version=0.8.0
package_macro_dir=66
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment