0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Mathlm自動起動

0
Posted at
/etc/systemd/system/mathlm.service
[Unit]
Description = mathlm loader
After=local-fs.target
ConditionPathExists=/usr/local/Wolfram/MathLM

[Service]
ExecStart=/usr/local/Wolfram/MathLM/mathlm -foreground
Restart=always
Type=simple

[Install]
WantedBy=multi-user.target

rootで以下を実行.

chown root:root /etc/systemd/system/mathlm.service
chmod 644 /etc/systemd/system/mathlm.service
systemctl daemon-reload
systemctl enable mathlm

今後は再起動後に自動実行される.
今すぐ起動する場合は

systemctl start mathlm
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?