- Itt a Galaxy S26 széria: az Ultra fejlődött, a másik kettő alig
- iPhone topik
- Huawei Watch GT 6 és GT 6 Pro duplateszt
- Okosóra és okoskiegészítő topik
- Milyen okostelefont vegyek?
- Android szakmai topik
- Google Pixel topik
- Apple iPhone 17e – mágnesek ereje
- Apple iPhone 16 Pro - rutinvizsga
- Xiaomi 17 - még mindig tart
-
Mobilarena
Arch Linux topik
Új hozzászólás Aktív témák
-
Brogyi
őstag
Következő service fut a rendszeremen, és szerintem valami hiányzik a service script-ből, mert ha leállítom majd újraindítom akkor a top nem mutatja a service PID-jét. A program az működik.
[Unit]
Description=qbittorrent-nox Service
After=network.target
[Service]
Type=forking
User=joe
ExecStart=/usr/bin/screen -dmS qbittorrent-nox qbittorrent-nox
ExecStop=/usr/bin/screen -S qbittorrent-nox -X quit
[Install]
WantedBy=multi-user.targetA terminál itt mutatja mi történik:
[brogyi@antergos ~]$ sudo systemctl status qbittorrent.service
● qbittorrent.service - qbittorent-nox Service
Loaded: loaded (/usr/lib/systemd/system/qbittorrent.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2015-08-08 11:49:42 CEST; 2min 48s ago
Process: 352 ExecStart=/usr/bin/screen -dmS qbittorrent-nox qbittorrent-nox (code=exited, status=0/SUCCESS)
Main PID: 362 (screen)
CGroup: /system.slice/qbittorrent.service
├─362 /usr/bin/SCREEN -dmS qbittorrent-nox qbittorrent-nox
└─363 qbittorrent-nox
Aug 08 11:49:42 antergos systemd[1]: Starting qbittorent-nox Service...
Aug 08 11:49:42 antergos systemd[1]: Started qbittorent-nox Service.
[brogyi@antergos ~]$ top | grep 363
363 brogyi 20 0 415.4m 19.6m 0.0 0.2 0:00.24 S `- qbittorrent-nox
[brogyi@antergos ~]$ sudo systemctl stop qbittorrent.service
[brogyi@antergos ~]$ sudo systemctl status qbittorrent.service
● qbittorrent.service - qbittorent-nox Service
Loaded: loaded (/usr/lib/systemd/system/qbittorrent.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Sat 2015-08-08 11:53:32 CEST; 5s ago
Process: 2930 ExecStop=/usr/bin/screen -S qbittorrent-nox -X quit (code=exited, status=0/SUCCESS)
Process: 352 ExecStart=/usr/bin/screen -dmS qbittorrent-nox qbittorrent-nox (code=exited, status=0/SUCCESS)
Main PID: 362 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/qbittorrent.service
Aug 08 11:49:42 antergos systemd[1]: Starting qbittorent-nox Service...
Aug 08 11:49:42 antergos systemd[1]: Started qbittorent-nox Service.
Aug 08 11:53:32 antergos systemd[1]: Stopping qbittorent-nox Service...
Aug 08 11:53:32 antergos systemd[1]: Stopped qbittorent-nox Service.
[brogyi@antergos ~]$ sudo systemctl start qbittorrent.service
[brogyi@antergos ~]$ sudo systemctl status qbittorrent.service
● qbittorrent.service - qbittorent-nox Service
Loaded: loaded (/usr/lib/systemd/system/qbittorrent.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2015-08-08 11:54:03 CEST; 4s ago
Process: 2930 ExecStop=/usr/bin/screen -S qbittorrent-nox -X quit (code=exited, status=0/SUCCESS)
Process: 2943 ExecStart=/usr/bin/screen -dmS qbittorrent-nox qbittorrent-nox (code=exited, status=0/SUCCESS)
Main PID: 2944 (screen)
CGroup: /system.slice/qbittorrent.service
├─2944 /usr/bin/SCREEN -dmS qbittorrent-nox qbittorrent-nox
└─2945 qbittorrent-nox
Aug 08 11:54:03 antergos systemd[1]: Starting qbittorent-nox Service...
Aug 08 11:54:03 antergos systemd[1]: Started qbittorent-nox Service.
[brogyi@antergos ~]$ top | grep 2945
Új hozzászólás Aktív témák
- Asus 18 ROG WUXGA IPS 165Hz G-Sync i7-13650HX 14mag 16GB 1TB Nvidia RTX 4060 8GB 140W Win11 Garancia
- Apple iPhone 15 Pro Max / 256GB / Kártyafüggetlen / 12Hó Garancia / Akku:89%
- ÚJ Lenovo LOQ 15AHP10 - 15.6"FHD 144Hz - Ryzen 7 250 - 16GB 1TB - Win11 - RTX 5060 - 3 év gari
- ÁRGARANCIA!Épített KomPhone i5 14400F 32/64GB RAM RTX 5060 Ti 8GB GAMER PC termékbeszámítással
- Telefon felvásárlás!! Xiaomi Redmi Note 10, Xiaomi Redmi Note 10s, Xiaomi Redmi Note 10 Pro
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

BoB
