You've already forked Reprepro-Wrapper
Inital Commit
This commit is contained in:
8
root/lib/systemd/system/reprepro-import.path
Normal file
8
root/lib/systemd/system/reprepro-import.path
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Reprepro Package Importer
|
||||
|
||||
[Path]
|
||||
PathExistsGlob=/var/lib/reprepro/import/*.rep
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
10
root/lib/systemd/system/reprepro-import.service
Normal file
10
root/lib/systemd/system/reprepro-import.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Reprepro Package Import
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=/usr/bin/sleep 15s
|
||||
ExecStart=/usr/lib/reprepro/import
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
9
root/lib/systemd/system/reprepro-morgue.service
Normal file
9
root/lib/systemd/system/reprepro-morgue.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Reprepro Morgue Cleanup
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/lib/reprepro/morgue
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
9
root/lib/systemd/system/reprepro-morgue.timer
Normal file
9
root/lib/systemd/system/reprepro-morgue.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Reprepro Morgue Cleanup
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Sun *-*-* 00:00:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user