move services to service dir

This commit is contained in:
Lucas Vivohost committed 2026-09-14 18:47:17 +02:00
1 parent 34dfb4da47
commit d5cdead474
4 files changed

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=WallpaperChanger Service
#Requires=multi-user.target local-fs.target
#After=multi-user.target local-fs.target
ConditionPathExists=/torrent/WallpaperChanger/.LOG/
ConditionPathExists=/home/lucas/scripts/serverhost/WallpaperChangerServer.sh
[Service]
ExecStart=/home/lucas/scripts/serverhost/WallpaperChangerServer.sh -t 5 -c
[Install]
WantedBy=multi-user.target
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Lock session after login
After=graphical-session.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'sleep 2; /usr/bin/loginctl lock-session'
[Install]
WantedBy=graphical-session.target
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=WallpaperChanger Service
#Requires=multi-user.target local-fs.target
#After=multi-user.target local-fs.target
ConditionPathExists=/home/lucas/Documents/Dokumente/Projekte/Server/scripts/raspberry/python/mqtt_client.py
ConditionPathExists=/home/lucas/433venv/bin/python
[Service]
ExecStart=/home/lucas/433venv/bin/python /home/lucas/Documents/Dokumente/Projekte/Server/scripts/raspberry/python/mqtt_client.py
[Install]
WantedBy=multi-user.target
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=Enable Wake-on-LAN
After=NetworkManager-wait-online.service
Wants=NetworkManager-wait-online.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/ethtool -s enp5s0 wol g
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target