/[smeserver]/rpms/e-smith-proftpd/sme10/e-smith-proftpd-2.6.0-bz11106_11150_systemd_update_event.patch
ViewVC logotype

Diff of /rpms/e-smith-proftpd/sme10/e-smith-proftpd-2.6.0-bz11106_11150_systemd_update_event.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by michel, Sat Nov 28 13:08:22 2020 UTC Revision 1.2 by jpp, Fri Dec 4 03:34:39 2020 UTC
# Line 52  diff -urN e-smith-proftpd-2.6.0.old/crea Line 52  diff -urN e-smith-proftpd-2.6.0.old/crea
52       ))       ))
53   {   {
54       templates2events("/var/service/ftp/peers/0", $event);       templates2events("/var/service/ftp/peers/0", $event);
55  @@ -60,4 +70,10 @@  @@ -60,4 +70,9 @@
56       safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/ftp");       safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/ftp");
57   }   }
58    
59  +my $event = 'e-smith-proftpd-update';  +my $event = 'e-smith-proftpd-update';
60  +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ftp");  +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ftp");
61  +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);  +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
62  +event_link("systemd-reload", $event, "94");  +event_link("systemd-reload", $event, "89");
 +event_link("reset-unsavedflag", $event, "95");  
63  +  +
64   exit 0;   exit 0;
65  diff -urN e-smith-proftpd-2.6.0.old/root/usr/lib/systemd/system/ftp.service e-smith-proftpd-2.6.0/root/usr/lib/systemd/system/ftp.service  diff -urN e-smith-proftpd-2.6.0.old/root/usr/lib/systemd/system/ftp.service e-smith-proftpd-2.6.0/root/usr/lib/systemd/system/ftp.service


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed