diff --git a/pom.xml b/pom.xml index 56a9313..9e2bdf1 100644 --- a/pom.xml +++ b/pom.xml @@ -220,7 +220,7 @@ /opt/mousetech/gourmetj true - 440 + 640 gourmetj gourmetj @@ -233,7 +233,7 @@ /etc/systemd/system/ false true - 440 + 740 src/main/systemd/gourmetj.service diff --git a/src/main/systemd/gourmetj.service b/src/main/systemd/gourmetj.service index b0efc43..056e740 100644 --- a/src/main/systemd/gourmetj.service +++ b/src/main/systemd/gourmetj.service @@ -12,5 +12,6 @@ ExecStart=/usr/bin/java -jar gourmetj.jar #Restart=yes [Install] +WantedBy=multi-user.target Alias=gourmetj.service