This guide is for those who want to autostart their signal server in Linux environment by using systemd.
-
Create a file named
signal.service
on/etc/systemd/system/
-
Fill the file with the content from example file signal-example.service
-
In the example file,
java
is installed inusr/bin/
, make sure you change it according to your path to java. (Try runningwhich java
in terminal to know the path). -
Change the
/path/to/signal
in the example file to where you store the server & change the jar file name, I wrotex.xx
as the version, you migh need to change it. -
Now reload the systemd with this command
sudo systemctl daemon-reload
- Then you can enable autostart with this command
sudo systemctl start signal