Add statistics and data-consistency menus, recently-added folder
This commit is contained in:
@@ -1,27 +1,12 @@
|
||||
# systemd oneshot service for the standalone "Tipy dne" generator.
|
||||
# Runs scripts/tipy_dne.py once; schedule it with the matching tipy-dne.timer.
|
||||
#
|
||||
# Install (as root):
|
||||
# cp scripts/tipy_dne.py /opt/curator/tipy_dne.py
|
||||
# cp scripts/tipy-dne.service scripts/tipy-dne.timer /etc/systemd/system/
|
||||
# # edit User/paths below to match the server, then:
|
||||
# systemctl daemon-reload
|
||||
# systemctl enable --now tipy-dne.timer
|
||||
# systemctl start tipy-dne.service # run once now to test
|
||||
#
|
||||
# Adjust: User/Group, the script path, and --pool / --output to your server.
|
||||
|
||||
[Unit]
|
||||
Description=Generate the "Tipy dne" Filmotéka folder
|
||||
Description=Generate the "Tipy dne" Filmoteka folder
|
||||
After=local-fs.target remote-fs.target
|
||||
RequiresMountsFor=/mnt/c34a47db-0bdf-4c4c-8187-14711c022cf0
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=honza
|
||||
Group=honza
|
||||
ExecStart=/usr/bin/python3 /opt/curator/tipy_dne.py \
|
||||
--pool /mnt/RHD-SRV2/Filmoteka \
|
||||
--output /mnt/RHD-SRV2/Filmy/Filmoteka_v2 \
|
||||
--count 15
|
||||
ExecStart=/usr/bin/python3 /mnt/c34a47db-0bdf-4c4c-8187-14711c022cf0/Filmotéka/Tools/tipy_dne.py --pool /mnt/c34a47db-0bdf-4c4c-8187-14711c022cf0/Filmotéka --output /mnt/c34a47db-0bdf-4c4c-8187-14711c022cf0/Filmy --count 15
|
||||
Nice=10
|
||||
NoNewPrivileges=true
|
||||
|
||||
Reference in New Issue
Block a user