Score:0

Why i can't run another service

it flag

Help me, I can't run other services (can only run one service). If I try to run another service it will make it deactivating (stop)

sone.service:

[Unit]
Description=My Service One
After=network.target
[Service]
Type=forking
User=ztz
ExecStart=/home/ztz/Downloads/sone/script.sh start
ExecStop=/home/ztz/Downloads/sone/script.sh stop

[Install]
WantedBy=multi-user.target

I started this service no problem

stwo.service:

[Unit]
Description=My Service Two
After=network.target

[Service]
Type=forking
User=ztz
ExecStart=/home/ztz/Downloads/stwo/script.sh start
ExecStop=/home/ztz/Downloads/stwo/script.sh stop

[Install]
WantedBy=multi-user.target

and after I run the stwo.service will be deactivating (stop) but the sone.service still active

This is the status log:

stwo.service - My Service Two
     Loaded: loaded (/etc/systemd/system/stwo.service; enabled; vendor preset: enabled)
     Active: deactivating (stop)
    Process: 2961 ExecStart=/home/ztz/Downloads/stwo/script.sh start (code=exited, status=0/SUCCESS)
Cntrl PID: 2964 (script.sh)
      Tasks: 2 (limit: 4459)
     Memory: 580.0K
     CGroup: /system.slice/stwo.service
             ├─2964 /bin/bash /home/ztz/Downloads/stwo/script.sh stop

Jul 16 17:12:23 ztz-VivoBook-14-ASUS-Laptop-X441MA-X441MA systemd[1]: Starting My Service Two...
Jul 16 17:12:24 ztz-VivoBook-14-ASUS-Laptop-X441MA-X441MA systemd[1]: stwo.service: Succeeded.
Jul 16 17:12:24 ztz-VivoBook-14-ASUS-Laptop-X441MA-X441MA systemd[1]: Started My Service Two.```
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.