diff --git a/createapp.pl b/createapp.pl old mode 100644 new mode 100755 index 99f565b..a4db9c3 --- a/createapp.pl +++ b/createapp.pl @@ -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 = ); 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"; diff --git a/xxx/deb/DEBIAN/control b/xxx/deb/DEBIAN/control index a6260e2..ec4a5ca 100644 --- a/xxx/deb/DEBIAN/control +++ b/xxx/deb/DEBIAN/control @@ -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 Description: wofuer diff --git a/xxx/deb/usr/lib/systemd/system/steffen-xxx.service b/xxx/deb/usr/lib/systemd/system/steffen-xxx.service index 9e95755..045ec0e 100644 --- a/xxx/deb/usr/lib/systemd/system/steffen-xxx.service +++ b/xxx/deb/usr/lib/systemd/system/steffen-xxx.service @@ -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