01-12-2021, 12:03 PM
So if anyone has experience with systemd, help would be appreciated.
I am making a systemd serve with:
and I put it here: /etc/systemd/system/mmsd.service (it is owned by root, and has permissions of 640)
I attempt to enable it and start it with:
But mmsd imediately stops.
When installing the normal way. I can manually start it with:
and it runs as I expect it to.
I am making a systemd serve with:
Code:
[Unit]
Description=Multimedia Message Service Daemon
Wants=network.target
After=syslog.target network-online.target
[Service]
Type=simple
ExecStart=/usr/libexec/mmsd
Restart=always
RestartSec=10
User=root
KillMode=process
[Install]
WantedBy=multi-user.target
and I put it here: /etc/systemd/system/mmsd.service (it is owned by root, and has permissions of 640)
I attempt to enable it and start it with:
Code:
sudo systemctl enable mmsd
sudo systemctl daemon-reload
sudo systemctl start mmsd
But mmsd imediately stops.
When installing the normal way. I can manually start it with:
Code:
$/usr/libexec/mmsd