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;
|
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> );
|
chomp( my $wohin = <ARGV> );
|
||||||
|
|
||||||
if ( $wohin eq "" ) {
|
if ( $wohin eq "" ) {
|
||||||
$wohin = "$ENV{'HOME'}/mojo";
|
$wohin = "$ENV{'HOME'}/git";
|
||||||
};
|
};
|
||||||
if ( !-d $wohin ) {
|
if ( !-d $wohin ) {
|
||||||
print STDOUT "Ordner existiert nicht, Programm wird geschlossen\n";
|
print STDOUT "Ordner existiert nicht, Programm wird geschlossen\n";
|
||||||
@@ -120,7 +120,7 @@ chdir "$wohin/$lname/";
|
|||||||
system( "git init" );
|
system( "git init" );
|
||||||
system( "git add ." );
|
system( "git add ." );
|
||||||
system( "git commit -m 'initialer Commit'" );
|
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
|
system( "$wohin/$lname/deb/pbuild.sh" ) == 0
|
||||||
or die "Bash Script failed";
|
or die "Bash Script failed";
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Version: __VERSION__
|
|||||||
Section: unknown
|
Section: unknown
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: all
|
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__
|
Installed-Size: __VERSION__
|
||||||
Maintainer: Steffen Junge <steffen.junge@gmx.de>
|
Maintainer: Steffen Junge <steffen.junge@gmx.de>
|
||||||
Description: wofuer
|
Description: wofuer
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=steffen Xxx/Rfs Webservice
|
Description=Steffens Xxx/Rfs Webservice
|
||||||
After=network.target syslog.socket
|
After=network.target syslog.socket
|
||||||
StartLimitBurst=5
|
StartLimitBurst=5
|
||||||
StartLimitIntervalSec=10
|
StartLimitIntervalSec=10
|
||||||
@@ -16,7 +16,7 @@ PIDFile=/run/xxx.pid
|
|||||||
KillMode=process
|
KillMode=process
|
||||||
|
|
||||||
# Optional hardening to improve security
|
# Optional hardening to improve security
|
||||||
ReadWritePaths=/opt/xxx
|
ReadOnlyPaths=/opt/xxx
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
MemoryDenyWriteExecute=true
|
MemoryDenyWriteExecute=true
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user