RPM tweaks

This commit is contained in:
tim holloway 2024-09-13 14:53:33 -04:00
parent 3cfbf9cf6e
commit 93feaf1410
2 changed files with 3 additions and 2 deletions

View File

@ -220,7 +220,7 @@
<mapping> <mapping>
<directory>/opt/mousetech/gourmetj</directory> <directory>/opt/mousetech/gourmetj</directory>
<configuration>true</configuration> <configuration>true</configuration>
<filemode>440</filemode> <filemode>640</filemode>
<username>gourmetj</username> <username>gourmetj</username>
<groupname>gourmetj</groupname> <groupname>gourmetj</groupname>
<sources> <sources>
@ -233,7 +233,7 @@
<directory>/etc/systemd/system/</directory> <directory>/etc/systemd/system/</directory>
<directoryIncluded>false</directoryIncluded> <directoryIncluded>false</directoryIncluded>
<configuration>true</configuration> <configuration>true</configuration>
<filemode>440</filemode> <filemode>740</filemode>
<sources> <sources>
<source> <source>
<location>src/main/systemd/gourmetj.service</location> <location>src/main/systemd/gourmetj.service</location>

View File

@ -12,5 +12,6 @@ ExecStart=/usr/bin/java -jar gourmetj.jar
#Restart=yes #Restart=yes
[Install] [Install]
WantedBy=multi-user.target
Alias=gourmetj.service Alias=gourmetj.service