Skip to content
Snippets Groups Projects
Verified Commit 02435693 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Fix bug in cim cleanup service and rename files

parent 9d4afa5f
No related branches found
No related tags found
1 merge request!10Fix bug in cim cleanup service and rename files
Pipeline #234996 passed
Showing
with 47 additions and 1 deletion
...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/bh-uio-cleanup.sh ...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/bh-uio-cleanup.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
...@@ -8,3 +8,4 @@ Persistent=true ...@@ -8,3 +8,4 @@ Persistent=true
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/bh-uio-upload.sh ...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/bh-uio-upload.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
...@@ -8,3 +8,4 @@ Persistent=true ...@@ -8,3 +8,4 @@ Persistent=true
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
[Unit] [Unit]
Description=CIM cleanup Description=CIM UiB prod cleanup
After=network.target After=network.target
[Service] [Service]
Type=simple Type=simple
User=bottint User=bottint
WorkingDirectory=/home/bottint/cim/uib/archive WorkingDirectory=/home/bottint/cim/uib/prod/archive/
ExecStart=/usr/local/bin/cim-cleanup.sh ExecStart=/usr/local/bin/cim-uib-cleanup.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
......
[Unit] [Unit]
Description=Daily UiB temp CIM upload Description=Daily UiB CIM prod archive cleanup
[Timer] [Timer]
OnCalendar=4:30 OnCalendar=4:30
......
[Unit]
Description=CIM UiB test cleanup
After=network.target
[Service]
Type=simple
User=bottint
WorkingDirectory=/home/bottint/cim/uib/test/archive/
ExecStart=/usr/local/bin/cim-uib-cleanup.sh
[Install]
WantedBy=multi-user.target
[Unit]
Description=Daily UiB CIM test archive cleanup
[Timer]
OnCalendar=4:30
AccuracySec=24h
Persistent=true
[Install]
WantedBy=timers.target
File moved
...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/cristin-cleanup.sh ...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/cristin-cleanup.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
...@@ -8,3 +8,4 @@ Persistent=true ...@@ -8,3 +8,4 @@ Persistent=true
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
File moved
...@@ -8,3 +8,4 @@ Persistent=true ...@@ -8,3 +8,4 @@ Persistent=true
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/cristin-upload-uio.sh ...@@ -10,3 +10,4 @@ ExecStart=/usr/local/bin/cristin-upload-uio.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
...@@ -8,3 +8,4 @@ Persistent=true ...@@ -8,3 +8,4 @@ Persistent=true
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment