bugfix
This commit is contained in:
6
createapp.pl
Normal file → Executable file
6
createapp.pl
Normal file → Executable file
@@ -31,11 +31,11 @@ if ( $name !~ /^[a-z]*$/ ) {
|
||||
exit 0;
|
||||
}
|
||||
|
||||
print "Wohin soll das neue Programm kopiert werden ( $ENV{'HOME'}/mojo ): ";
|
||||
print "Wohin soll das neue Programm kopiert werden ( $ENV{'HOME'}/git ): ";
|
||||
chomp( my $wohin = <ARGV> );
|
||||
|
||||
if ( $wohin eq "" ) {
|
||||
$wohin = "$ENV{'HOME'}/mojo";
|
||||
$wohin = "$ENV{'HOME'}/git";
|
||||
};
|
||||
if ( !-d $wohin ) {
|
||||
print STDOUT "Ordner existiert nicht, Programm wird geschlossen\n";
|
||||
@@ -120,7 +120,7 @@ chdir "$wohin/$lname/";
|
||||
system( "git init" );
|
||||
system( "git add ." );
|
||||
system( "git commit -m 'initialer Commit'" );
|
||||
system( "git remote add origin git\@git:WebApps/$uname.git" );
|
||||
system( "git remote add origin git\@gitea.opawilly.goip.de:steffen/$uname.git" );
|
||||
|
||||
system( "$wohin/$lname/deb/pbuild.sh" ) == 0
|
||||
or die "Bash Script failed";
|
||||
|
||||
@@ -3,7 +3,7 @@ Version: __VERSION__
|
||||
Section: unknown
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: libmojolicious-perl >= (9.39), libev-perl, libsteffen-mojoplug-authorization-perl, libsteffen-mojoplug-navhelper-perl, libsteffen-mojoplug-syslog-perl, libmojolicious-plugin-openapi-perl, libsteffen-mojoplug-swaggerui-perl
|
||||
Depends: libmojolicious-perl (>= 9.39), libev-perl, libsteffen-mojoplug-authorization-perl, libsteffen-mojoplug-navhelper-perl, libsteffen-mojoplug-syslog-perl, libmojolicious-plugin-openapi-perl, libsteffen-mojoplug-swaggerui-perl
|
||||
Installed-Size: __VERSION__
|
||||
Maintainer: Steffen Junge <steffen.junge@gmx.de>
|
||||
Description: wofuer
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=steffen Xxx/Rfs Webservice
|
||||
Description=Steffens Xxx/Rfs Webservice
|
||||
After=network.target syslog.socket
|
||||
StartLimitBurst=5
|
||||
StartLimitIntervalSec=10
|
||||
@@ -16,7 +16,7 @@ PIDFile=/run/xxx.pid
|
||||
KillMode=process
|
||||
|
||||
# Optional hardening to improve security
|
||||
ReadWritePaths=/opt/xxx
|
||||
ReadOnlyPaths=/opt/xxx
|
||||
NoNewPrivileges=yes
|
||||
MemoryDenyWriteExecute=true
|
||||
PrivateDevices=yes
|
||||
|
||||
Reference in New Issue
Block a user