Yes, it does involve using some different commands, like for one example;
If I wanted to start the
ums service (Universal Media Server), the command would be;
Code:
systemctl start ums
If I wanted to see it's status, the command would be;
Code:
systemctl status ums
Which would give me the following output;
Code:
● ums.service - Universal Media Server
Loaded: loaded (/etc/systemd/system/ums.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2017-09-17 08:00:44 ACST; 16s ago
Main PID: 12880 (java)
CGroup: /system.slice/ums.service
└─12880 java -Xmx768M -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath ...
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.370 [main] Registering transcoding engine: Audio Hig...elity
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.370 [main] Registering transcoding engine: VLC Web A...gacy)
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.370 [main] Registering transcoding engine: VLC Web V...gacy)
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.373 [main] Registering transcoding engine: DCRaw
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.381 [main] Using address /192.168.43.204 found on ne...p4s0)
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.381 [main] Created socket: /192.168.43.204:5001
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.474 [main] WEB interface is available at: http://192...:9001
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.512 [main] A tiny cache admin interface is available.../home
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO 08:00:50.959 [main] Checking shared folder: /multimediavol/Videos
Sep 17 08:00:53 localhost.localdomain UMS.sh[12880]: INFO 08:00:53.713 [main] Universal Media Server is now available f... find
Hint: Some lines were ellipsized, use -l to show in full.
To restart it, the command would be;
Code:
systemctl restart ums
You can see the
systemctl man page, for more options.