# Set of commands Also found [here](https://iratusmachina.com/#production-go-systemd-attempt-four) ```sh $ cp /usr/local/bin $ sudo mkdir -p /var/lib/ $ sed -i 's/$MYUSER//g' gocustomurls.service $ sed -i 's/$MYUSER//g' config.json $ sudo cp gocustomurls.service /etc/systemd/system/ $ sudo useradd --system --comment 'Go Custom Urls Service' --no-create-home useradd: failed to reset the lastlog entry of UID 992: No such file or directory $ sudo passwd -d passwd: password changed. $ getent passwd :x:992:991:Go Custom Urls Service:/home/:/bin/bash $ sudo cp config.json /var/lib/ $ sudo cp rules.json /var/lib/ $ sudo ls /var/lib// config.json rules.json $ sudo chmod -R 770 /var/lib/ $ sudo chown -R : /var/lib/ $ sudo systemctl daemon-reload $ sudo systemctl start gocustomurls.service $ sudo systemctl status gocustomurls.service ● gocustomurls.service - GocustomUrls. A custom url mapper for go packages! Loaded: loaded (/etc/systemd/system/gocustomurls.service; disabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: active (running) since Sat 2024-07-20 06:52:09 UTC; 23s ago Main PID: 4020 (gocustomurls) Tasks: 6 (limit: 2319) Memory: 7.1M (peak: 7.5M) CPU: 14ms CGroup: /system.slice/gocustomurls.service └─4020 /usr/local/bin/gocustomurls -conf /var/lib//config.json ```