Commit 644c1431 authored by Locatelli's avatar Locatelli
Browse files

update scripts

parent 4f8a75a3
<?xml version="1.0" encoding="UTF-8"?>
<config port="7000" max_applications="20" debug="OFF" polling_time="100">
<config host="192.168.26.56" port="7000" max_applications="20" debug="ON" polling_time="100">
<applications>
</applications>
......
#!/bin/bash
# pp file
rsync -a systemd/ $HOME/.config/systemd/
systemctl --user daemon-reload
systemctl --user stop cameo
systemctl --user enable cameo
systemctl --user start cameo
[Unit]
Description=Cameo Server Service
[Service]
ExecStart=/usr/bin/java -jar /users/nomad/cameo-release/cameo-server.jar /users/nomad/cameo/config.xml
WorkingDirectory=/users/nomad/cameo
Environment=DISPLAY=:0
[Install]
WantedBy=default.target
[Service]
Environment="PATH=/usr/local/bin:/usr/bin:/bin:$PATH"
Environment="LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/jni:/usr/local/lib:$LD_LIBRARY_PATH"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment