feat: add arch packaging
This commit is contained in:
@ -72,7 +72,7 @@ void log_log(const char* file, int line, int level, const char* fmt, ...) {
|
||||
else
|
||||
fprintf(g_log_settings.out_file, "%s %-5s %s:%d: ", timestamp, level_name, file, line);
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
va_start(args, fmt);
|
||||
vfprintf(g_log_settings.out_file, fmt, args);
|
||||
va_end(args);
|
||||
fprintf(g_log_settings.out_file, "\n");
|
||||
|
@ -148,7 +148,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
if(!args.config_file.has_value) {
|
||||
fprintf(stderr, "no file provided see -h for usage\n");
|
||||
fprintf(stderr, "no pipeline config file provided see -h for usage\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
@ -170,11 +170,6 @@ int main(int argc, char** argv) {
|
||||
pool = threadpool_create(args.executors);
|
||||
per_line(args.config_file.value, &config_interpret_line);
|
||||
|
||||
// BOOKMARK: You were reading :Man system.unit and :Man systemd.service as preperation on making a systemd unit file
|
||||
// This will be needed for the .deb package, as well as the arch linux package.
|
||||
// alpine linux is using OpenRC (cool), which complicates things a little bit, but shouldn't be too bad. The wiki is
|
||||
// generally really well written. Otherwise, I am sure that both wiki.gentoo and wiki.archlinux have great pages too
|
||||
// docker is super easy, just make a dockerfile - only concern is the trigger files.
|
||||
pipeline_loop();
|
||||
threadpool_destroy(pool);
|
||||
}
|
||||
|
57
src/sci.1
Normal file
57
src/sci.1
Normal file
@ -0,0 +1,57 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" (C) Copyright 2024 unknown <asger.gitz@hotmail.com>,
|
||||
.\"
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH Sci SECTION "August 18 2024"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
sci \- program to do something
|
||||
.SH SYNOPSIS
|
||||
.B sci
|
||||
.RI [ options ] " files" ...
|
||||
.br
|
||||
.B bar
|
||||
.RI [ options ] " files" ...
|
||||
.SH DESCRIPTION
|
||||
This manual page documents briefly the
|
||||
.B sci
|
||||
and
|
||||
.B bar
|
||||
commands.
|
||||
.PP
|
||||
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
.\" respectively.
|
||||
\fBsci\fP is a program that...
|
||||
.SH OPTIONS
|
||||
These programs follow the usual GNU command line syntax, with long
|
||||
options starting with two dashes ('\-').
|
||||
A summary of options is included below.
|
||||
For a complete description, see the Info files.
|
||||
.TP
|
||||
.B \-h, \-\-help
|
||||
Show summary of options.
|
||||
.TP
|
||||
.B \-v, \-\-version
|
||||
Show version of program.
|
||||
.SH SEE ALSO
|
||||
.BR bar (1),
|
||||
.BR baz (1).
|
||||
.br
|
||||
The programs are documented fully by
|
||||
.IR "The Rise and Fall of a Fooish Bar" ,
|
||||
available via the Info system.
|
||||
|
Reference in New Issue
Block a user