User Tools

Site Tools


homeserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
homeserver [2024/01/23 10:04] – created karciohomeserver [2024/01/23 20:18] (current) karcio
Line 1: Line 1:
 ==== Home server configurations ==== ==== Home server configurations ====
 +
 +== Services ==
 +  * pvsolar.service
 +
 +<code>
 +[Unit]
 +Description=Solis solar readings
 +After=multi-user.target
 +Conflicts=getty@tty1.service
 +
 +[Service]
 +Type=simple
 +WorkingDirectory=/home/karcio/git/soliscloud-monitoring/
 +ExecStart=/home/karcio/git/soliscloud-monitoring/virtenv/bin/python /home/karcio/git/soliscloud-monitoring/src/user_station_list.py
 +StandardInput=tty-force
 +
 +[Install]
 +WantedBy=multi-user.target
 +</code>
 +
 +  * no.service
 +
 +<code>
 +[Unit]
 +Description=Custom Python Service
 +After=multi-user.target
 +Conflicts=getty@tty1.service
 +
 +[Service]
 +Type=simple
 +ExecStart=/home/karcio/git/weather-logger/virtenv/bin/python /home/karcio/git/weather-logger/src/getWeather.py
 +StandardInput=tty-force
 +
 +[Install]
 +WantedBy=multi-user.target
 +</code>
 +
 +  * nvme in fstab
 +<code>
 +UUID=ea9b6a65-aba1-49e2-94eb-9390394b67bd /mnt/nvme ext4 noauto,rw,users,permissions 0 0
 +</code>
 +
 +or 
 +
 +<code>
 +UUID=ea9b6a65-aba1-49e2-94eb-9390394b67bd /mnt/nvme ext4 defaults 0 0
 +</code>
 +
 +== Backup ==
 +<code>
 +#!/bin/bash
 +
 +find /mnt/nvme/FTP/files/ -name *.jpg -type f -mtime +1 -delete
 +</code>
homeserver.1706004272.txt.gz · Last modified: 2024/01/23 10:04 by karcio