mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-06-05 21:59:36 +02:00
Upd server
This commit is contained in:
12
Server/Root/etc/systemd/system/CringeInoltro.service
Normal file
12
Server/Root/etc/systemd/system/CringeInoltro.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=CringeInoltro
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=15
|
||||
User=pi
|
||||
ExecStart=/Server/CringeInoltro/StartCringeInoltro.py
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
11
Server/Root/etc/systemd/system/OneShot.AfterBoot.service
Normal file
11
Server/Root/etc/systemd/system/OneShot.AfterBoot.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=OneShot.AfterBoot
|
||||
After=network.target
|
||||
[Service]
|
||||
User=root
|
||||
Type=exec
|
||||
ExecStart=/Server/Scripts/OneShot.AfterBoot.sh
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
12
Server/Root/etc/systemd/system/Shiori.service
Normal file
12
Server/Root/etc/systemd/system/Shiori.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Shiori
|
||||
After=network.target
|
||||
[Service]
|
||||
User=pi
|
||||
Type=exec
|
||||
ExecStart=/Server/Shiori/shiori --portable serve -p 8076
|
||||
WorkingDirectory=/Server/Shiori/
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
12
Server/Root/etc/systemd/system/ShioriFeed.service
Normal file
12
Server/Root/etc/systemd/system/ShioriFeed.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=ShioriFeed
|
||||
After=network.target
|
||||
[Service]
|
||||
User=pi
|
||||
Type=exec
|
||||
ExecStart=/Server/Shiori/ShioriFeed.py
|
||||
WorkingDirectory=/Server/Shiori/
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
14
Server/Root/etc/systemd/system/SpaccCraft.service
Normal file
14
Server/Root/etc/systemd/system/SpaccCraft.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=spacccraft
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
CPUQuota=85%
|
||||
MemoryMax=384M
|
||||
User=pi
|
||||
ExecStart=/Server/SpaccCraft/StartSpaccCraft.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
13
Server/Root/etc/systemd/system/TelegramIndex.service
Normal file
13
Server/Root/etc/systemd/system/TelegramIndex.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=TelegramIndex
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=15
|
||||
User=pi
|
||||
WorkingDirectory=/Server/TelegramIndex-Fork
|
||||
ExecStart=/usr/bin/bash -c "set -a; source .env; python3 -m app"
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
12
Server/Root/etc/systemd/system/WebFileManager.service
Normal file
12
Server/Root/etc/systemd/system/WebFileManager.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=WebFileManager
|
||||
After=network.target
|
||||
[Service]
|
||||
User=root
|
||||
Type=exec
|
||||
ExecStart=/usr/local/bin/filebrowser -a 0.0.0.0 -p 7580 -r /
|
||||
WorkingDirectory=/Server/SpaccCloud
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
12
Server/Root/etc/systemd/system/WinDog.service
Normal file
12
Server/Root/etc/systemd/system/WinDog.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=windog
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
User=pi
|
||||
ExecStart=/Server/WinDog/StartWinDog
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
16
Server/Root/etc/systemd/system/bittorrentd.service
Normal file
16
Server/Root/etc/systemd/system/bittorrentd.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=BitTorrent Daemon
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
User=pi
|
||||
#User=qbtuser
|
||||
ExecStart=/Server/Start/bittorrentd
|
||||
#CPUQuota=96%
|
||||
#MemoryHigh=300M
|
||||
#MemoryMax=384M
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@@ -5,9 +5,9 @@ StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
CPUQuota=85%
|
||||
MemoryMax=384M
|
||||
RestartSec=10
|
||||
CPUQuota=90%
|
||||
MemoryMax=400M
|
||||
User=root
|
||||
ExecStart=sh -c "cat /var/log/diycron.log >> /var/log/diycron.log.old; sh /etc/diycron > /var/log/diycron.log"
|
||||
[Install]
|
||||
|
12
Server/Root/etc/systemd/system/ncshell.service
Normal file
12
Server/Root/etc/systemd/system/ncshell.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=ncshell
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
User=ncshell
|
||||
ExecStart=/usr/bin/ncshell
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user