revert update smarttms.service pure--ftpd.config dcp
This commit is contained in:
zj
2025-12-02 01:28:22 +08:00
parent 1c26e23603
commit 5f078f0027
8 changed files with 26 additions and 411 deletions

View File

@@ -1 +0,0 @@
/home/smart/.config/systemd/user/smarttms.service

View File

@@ -1,22 +0,0 @@
[Unit]
Description=SmartTMS Service (User)
After=mysqld.service graphical.target
Wants=mysqld.service
[Service]
Type=forking
ExecStart=sudo /usr/bin/smarttms start
ExecStop=sudo /usr/bin/smarttms stop
ExecReload=sudo /usr/bin/smarttms restart
Restart=on-failure
RestartSec=5
TimeoutStartSec=300
TimeoutStopSec=300
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/smart/.Xauthority"
Environment="XDG_CURRENT_DESKTOP=XFCE"
[Install]
WantedBy=default.target