Skip to content

Commit 5e6c481

Browse files
authored
Update install.sh
Fixed Issues feydan#16
1 parent 441d9bb commit 5e6c481

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server-hosting/scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ After=syslog.target network.target nss-lookup.target network-online.target
3737
[Service]
3838
Environment="LD_LIBRARY_PATH=./linux64"
3939
ExecStartPre=$STEAM_INSTALL_SCRIPT
40-
ExecStart=/home/ubuntu/.steam/steamapps/common/SatisfactoryDedicatedServer/FactoryServer.sh
40+
ExecStart=/home/ubuntu/.steam/SteamApps/common/SatisfactoryDedicatedServer/FactoryServer.sh
4141
User=ubuntu
4242
Group=ubuntu
4343
StandardOutput=journal
4444
Restart=on-failure
4545
KillSignal=SIGINT
46-
WorkingDirectory=/home/ubuntu/.steam/steamapps/common/SatisfactoryDedicatedServer
46+
WorkingDirectory=/home/ubuntu/.steam/SteamApps/common/SatisfactoryDedicatedServer
4747
4848
[Install]
4949
WantedBy=multi-user.target
@@ -104,4 +104,4 @@ systemctl enable auto-shutdown
104104
systemctl start auto-shutdown
105105

106106
# automated backups to s3 every 5 minutes
107-
su - ubuntu -c "crontab -l -e ubuntu | { cat; echo \"*/5 * * * * /usr/local/bin/aws s3 sync /home/ubuntu/.config/Epic/FactoryGame/Saved/SaveGames/server s3://$S3_SAVE_BUCKET\"; } | crontab -"
107+
su - ubuntu -c "crontab -u ubuntu -l | { cat; echo \"*/5 * * * * /usr/local/bin/aws s3 sync /home/ubuntu/.config/Epic/FactoryGame/Saved/SaveGames/server s3://$S3_SAVE_BUCKET\"; } | crontab -"

0 commit comments

Comments
 (0)