예제 #1
0
파일: debian.py 프로젝트: admdev8/batou
 def configure(self):
     self += CronJob(
         self.expand(
             "{{component.root.workdir}}/{{component.parent.executable}}"),
         timing="@reboot",
         logger=self.root.name,
     )
예제 #2
0
파일: debian.py 프로젝트: admdev8/batou
 def configure(self):
     self.directory = self.parent.workdir
     self += CronJob(
         self.expand("/usr/sbin/logrotate -s {{component.directory}}/state"
                     " {{component.directory}}/logrotate.conf"),
         timing="45 2 * * *",
     )
예제 #3
0
 def configure(self):
     self += CronJob(self.expand(
         '{{component.root.workdir}}/{{component.parent.executable}}'),
                     timing='@reboot',
                     logger=self.root.name)
예제 #4
0
 def configure(self):
     self.directory = self.parent.workdir
     self += CronJob(self.expand(
         '/usr/sbin/logrotate -s {{component.directory}}/state'
         ' {{component.directory}}/logrotate.conf'),
                     timing='45 2 * * *')