01-12-2021, 03:06 PM
(01-12-2021, 02:16 PM)kop316 Wrote:(01-12-2021, 12:52 PM)cody Wrote:(01-12-2021, 12:03 PM)kop316 Wrote: So if anyone has experience with systemd, help would be appreciated.
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)
Code:mobian@mobian:/usr/libexec$ ls -l | grep mmsd
-rwxr-xr-x 1 root root 967936 Jan 12 15:15 mmsd
So it has permissions that I would expect.
I'm just wondering if the mmsd.service needs to have a user bit of 7 for read, write, and execute?